Changeset 10457 in webkit for trunk/JavaScriptCore/kjs/dtoa.cpp


Ignore:
Timestamp:
Sep 3, 2005, 11:21:54 PM (20 years ago)
Author:
darin
Message:

Reviewed, tweaked and landed by Darin.

  • another try at some of the Windows compilation fixes should fix these bugs: 4546, 4831, 4834, 4643, 4830, 4832, 4833, 4835
  • kjs/collector.cpp: Add missing <setjmp.h> include.
  • kjs/date_object.cpp: Fix broken copysign macro.
  • kjs/dtoa.cpp: Move macro definitions down after all header includes.
  • kjs/fast_malloc.cpp: Add missing <assert.h> and <stddef.h> includes.
  • kjs/function.cpp: Remove broken isxdigit definition.
  • kjs/grammar.y: Add a missing semicolon (and remove an excess one).
  • kjs/identifier.cpp: Turn off AVOID_STATIC_CONSTRUCTORS because the placement new syntax doesn't seem to work in Visual C++ (I'm surprised to hear that, by the way).
  • kjs/value.h: Made ValueImp's destructor virtual because otherwise pointers to ValueImp on the stack aren't right for garbage collection on Windows (don't think it works that way with gcc's virtual table scheme, but it's a harmless change).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/dtoa.cpp

    r10456 r10457  
    178178#define INFNAN_CHECK
    179179#include "dtoa.h"
    180 #undef strtod /* do not remove: needed for WIN32 */
    181 #define strtod kjs_strtod
    182 #define dtoa kjs_dtoa
    183 #define freedtoa kjs_freedtoa
    184180
    185181
     
    269265#include "math.h"
    270266#endif
     267
     268#define strtod kjs_strtod
     269#define dtoa kjs_dtoa
     270#define freedtoa kjs_freedtoa
    271271
    272272#ifdef __cplusplus
Note: See TracChangeset for help on using the changeset viewer.