Changeset 55453 in webkit for trunk/JavaScriptCore/runtime/Collector.cpp
- Timestamp:
- Mar 3, 2010, 12:07:47 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/Collector.cpp
r54701 r55453 230 230 void* address = VirtualAlloc(NULL, BLOCK_SIZE, MEM_COMMIT | MEM_RESERVE, PAGE_READWRITE); 231 231 #elif OS(WINDOWS) 232 #if COMPILER(MINGW) 232 #if COMPILER(MINGW) && !defined(__MINGW64_VERSION_MAJOR) 233 233 void* address = __mingw_aligned_malloc(BLOCK_SIZE, BLOCK_SIZE); 234 234 #else … … 321 321 VirtualFree(block, 0, MEM_RELEASE); 322 322 #elif OS(WINDOWS) 323 #if COMPILER(MINGW) 323 #if COMPILER(MINGW) && !defined(__MINGW64_VERSION_MAJOR) 324 324 __mingw_aligned_free(block); 325 325 #else … … 575 575 } 576 576 return static_cast<void*>(pTib->StackBase); 577 #elif OS(WINDOWS) && CPU(X86_64) && COMPILER(MSVC)578 // FIXME: why only for MSVC?579 PNT_TIB64 pTib = reinterpret_cast<PNT_TIB64>(NtCurrentTeb());580 return reinterpret_cast<void*>(pTib->StackBase);581 577 #elif OS(WINDOWS) && CPU(X86) && COMPILER(GCC) 582 578 // offset 0x18 from the FS segment register gives a pointer to … … 587 583 ); 588 584 return static_cast<void*>(pTib->StackBase); 585 #elif OS(WINDOWS) && CPU(X86_64) 586 PNT_TIB64 pTib = reinterpret_cast<PNT_TIB64>(NtCurrentTeb()); 587 return reinterpret_cast<void*>(pTib->StackBase); 589 588 #elif OS(QNX) 590 589 return currentThreadStackBaseQNX();
Note:
See TracChangeset
for help on using the changeset viewer.