Changeset 57025 in webkit for trunk/JavaScriptCore/runtime


Ignore:
Timestamp:
Apr 2, 2010, 2:53:08 PM (15 years ago)
Author:
[email protected]
Message:

2010-04-02 Ruben Van Boxem <[email protected]>

Reviewed by Eric Seidel.

Mingw-w64 fixes for JavaScriptCore
https://bugs.webkit.org/show_bug.cgi?id=35607

  • runtime/Collector.cpp: use the msvc code for mingw-w64 (but not mingw-w32) (JSC::Heap::allocateBlock): (JSC::Heap::freeBlockPtr): (JSC::currentThreadStackBase): (JSC::currentThreadStackBase):
  • wtf/Platform.h: added COMPILER(MINGW64) check to differentiate between mingw.org and mingw-w64 functions
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/runtime/Collector.cpp

    r57001 r57025  
    202202    void* address = VirtualAlloc(NULL, BLOCK_SIZE, MEM_COMMIT | MEM_RESERVE, PAGE_READWRITE);
    203203#elif OS(WINDOWS)
    204 #if COMPILER(MINGW) && !defined(__MINGW64_VERSION_MAJOR)
     204#if COMPILER(MINGW) && !COMPILER(MINGW64)
    205205    void* address = __mingw_aligned_malloc(BLOCK_SIZE, BLOCK_SIZE);
    206206#else
     
    293293    VirtualFree(block, 0, MEM_RELEASE);
    294294#elif OS(WINDOWS)
    295 #if COMPILER(MINGW) && !defined(__MINGW64_VERSION_MAJOR)
     295#if COMPILER(MINGW) && !COMPILER(MINGW64)
    296296    __mingw_aligned_free(block);
    297297#else
Note: See TracChangeset for help on using the changeset viewer.