Changeset 94514 in webkit for trunk/Source/JavaScriptCore/wtf


Ignore:
Timestamp:
Sep 4, 2011, 11:48:18 PM (14 years ago)
Author:
[email protected]
Message:

REGRESSION (r94452): 20 http/tests tests failing on Qt Linux Release
https://bugs.webkit.org/show_bug.cgi?id=67562

Patch by Mark Hahnenberg <[email protected]> on 2011-09-04
Reviewed by Darin Adler.

Fixing the build (again which was broken by the dtoa patch. Needed
to make sure WTF::double_conversion::initialize() is called for Qt
as well as adding a check for WinCE in dtoa/utils.h

  • runtime/InitializeThreading.cpp:

(JSC::initializeThreadingOnce):

  • wtf/dtoa/cached-powers.cc:
  • wtf/dtoa/utils.h:
Location:
trunk/Source/JavaScriptCore/wtf/dtoa
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/wtf/dtoa/cached-powers.cc

    r94452 r94514  
    5454   
    5555    void initialize() {
     56        if (kCachedPowers)
     57            return;
    5658        static CachedPower cachedPowers[] = {
    5759            {UINT64_2PART_C(0xfa8fd5a0, 081c0288), -1220, -348},
  • trunk/Source/JavaScriptCore/wtf/dtoa/utils.h

    r94463 r94514  
    5454defined(_MIPS_ARCH_MIPS32R2)
    5555#define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
    56 #elif CPU(MIPS)
     56#elif CPU(MIPS) || OS(WINCE)
    5757#define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
    5858#elif defined(_M_IX86) || defined(__i386__)
Note: See TracChangeset for help on using the changeset viewer.