Fix compilation on Win64(2): Implemented currentThreadStackBase on X86-64 on Windows
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@29611
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
Reviewed by Simon Hausmann <hausmann@webkit.org>.
+ Fix compilation on Win64(2): Implemented currentThreadStackBase on X86-64 on Windows
+
+
+ * kjs/collector.cpp:
+ (KJS::Collector::heapAllocate):
+
+2008-01-18 Prasanth Ullattil <prasanth.ullattil@trolltech.com>
+
+ Reviewed by Simon Hausmann <hausmann@webkit.org>.
+
Fix compilation on Win64(1): Define WTF_PLATFORM_X86_64 correctly on Win64.
MOV pTib, EAX
}
return (void*)pTib->StackBase;
+#elif PLATFORM(WIN_OS) && PLATFORM(X86_64) && COMPILER(MSVC)
+ PNT_TIB64 pTib = reinterpret_cast<PNT_TIB64>(NtCurrentTeb());
+ return (void*)pTib->StackBase;
#elif PLATFORM(WIN_OS) && PLATFORM(X86) && COMPILER(GCC)
// offset 0x18 from the FS segment register gives a pointer to
// the thread information block for the current thread