Changeset 46598 in webkit for trunk/JavaScriptCore/wtf
- Timestamp:
- Jul 30, 2009, 1:57:44 PM (16 years ago)
- Location:
- trunk/JavaScriptCore/wtf
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/wtf/MainThread.cpp
r40969 r46598 30 30 #include "MainThread.h" 31 31 32 #include "StdLibExtras.h" 32 33 #include "CurrentTime.h" 33 34 #include "Deque.h" 34 #include "StdLibExtras.h"35 35 #include "Threading.h" 36 36 -
trunk/JavaScriptCore/wtf/Platform.h
r46472 r46598 558 558 #endif 559 559 560 #if !defined(WTF_USE_ALTERNATE_JSIMMEDIATE) && PLATFORM(X86_64) && PLATFORM(MAC) 561 #define WTF_USE_ALTERNATE_JSIMMEDIATE 1 562 #endif 560 #if !defined(WTF_USE_JSVALUE64) && !defined(WTF_USE_JSVALUE32) && !defined(WTF_USE_JSVALUE32_64) 561 #if PLATFORM(X86_64) && PLATFORM(MAC) 562 #define WTF_USE_JSVALUE64 1 563 #else 564 #define WTF_USE_JSVALUE32 1 565 #endif 566 #endif // !defined(WTF_USE_JSVALUE64) && !defined(WTF_USE_JSVALUE32) && !defined(WTF_USE_JSVALUE32_64) 563 567 564 568 #if !defined(ENABLE_REPAINT_THROTTLING) … … 609 613 #define ENABLE_JIT_OPTIMIZE_PROPERTY_ACCESS 1 610 614 #endif 611 #ifndef ENABLE_JIT_OPTIMIZE_ARITHMETIC612 #define ENABLE_JIT_OPTIMIZE_ARITHMETIC 1613 #endif614 615 #ifndef ENABLE_JIT_OPTIMIZE_METHOD_CALLS 615 616 #define ENABLE_JIT_OPTIMIZE_METHOD_CALLS 1 -
trunk/JavaScriptCore/wtf/StdLibExtras.h
r43121 r46598 42 42 #endif 43 43 44 // OBJECT_OFFSETOF: Like the C++ offsetof macro, but you can use it with classes. 45 // The magic number 0x4000 is insignificant. We use it to avoid using NULL, since 46 // NULL can cause compiler problems, especially in cases of multiple inheritance. 47 #define OBJECT_OFFSETOF(class, field) (reinterpret_cast<ptrdiff_t>(&(reinterpret_cast<class*>(0x4000)->field)) - 0x4000) 48 44 49 namespace WTF { 45 50
Note:
See TracChangeset
for help on using the changeset viewer.