Changeset 44886 in webkit for trunk/JavaScriptCore/wtf
- Timestamp:
- Jun 19, 2009, 6:07:06 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/wtf/Platform.h
r44765 r44886 228 228 #define WTF_PLATFORM_FORCE_PACK 1 229 229 #endif 230 #define ARM_ARCH_VERSION 3 231 #if defined(__ARM_ARCH_4__) || defined(__ARM_ARCH_4T__) 232 #undef ARM_ARCH_VERSION 233 #define ARM_ARCH_VERSION 4 234 #endif 235 #if defined(__ARM_ARCH_5__) || defined(__ARM_ARCH_5T__) \ 236 || defined(__ARM_ARCH_5E__) || defined(__ARM_ARCH_5TE__) \ 237 || defined(__ARM_ARCH_5TEJ__) 238 #undef ARM_ARCH_VERSION 239 #define ARM_ARCH_VERSION 5 240 #endif 241 #if defined(__ARM_ARCH_6__) || defined(__ARM_ARCH_6J__) \ 242 || defined(__ARM_ARCH_6K__) || defined(__ARM_ARCH_6Z__) \ 243 || defined(__ARM_ARCH_6ZK__) 244 #undef ARM_ARCH_VERSION 245 #define ARM_ARCH_VERSION 6 230 246 #endif 231 247 #if defined(__ARM_ARCH_7A__) 232 #define WTF_PLATFORM_ARM_V7 1 233 #endif 248 #undef ARM_ARCH_VERSION 249 #define ARM_ARCH_VERSION 7 250 #endif 251 #endif /* ARM */ 252 #define PLATFORM_ARM_ARCH(N) (PLATFORM(ARM) && ARM_ARCH_VERSION >= N) 234 253 235 254 /* PLATFORM(X86) */ … … 520 539 #define ENABLE_JIT 1 521 540 #define WTF_USE_JIT_STUB_ARGUMENT_VA_LIST 1 522 #elif PLATFORM (ARM_V7) && PLATFORM(IPHONE)541 #elif PLATFORM_ARM_ARCH(7) && PLATFORM(IPHONE) 523 542 /* Under development, temporarily disabled until 16Mb link range limit in assembler is fixed. */ 524 543 #define ENABLE_JIT 0 … … 569 588 || (!defined(ENABLE_YARR_JIT) && PLATFORM(X86_64) && PLATFORM(MAC)) \ 570 589 /* Under development, temporarily disabled until 16Mb link range limit in assembler is fixed. */ \ 571 || (!defined(ENABLE_YARR_JIT) && PLATFORM (ARM_V7) && PLATFORM(IPHONE) && 0) \590 || (!defined(ENABLE_YARR_JIT) && PLATFORM_ARM_ARCH(7) && PLATFORM(IPHONE) && 0) \ 572 591 || (!defined(ENABLE_YARR_JIT) && PLATFORM(X86) && PLATFORM(WIN)) 573 592 #define ENABLE_YARR 1 … … 584 603 /* Setting this flag prevents the assembler from using RWX memory; this may improve 585 604 security but currectly comes at a significant performance cost. */ 586 #if PLATFORM (ARM_V7) && PLATFORM(IPHONE)605 #if PLATFORM_ARM_ARCH(7) && PLATFORM(IPHONE) 587 606 #define ENABLE_ASSEMBLER_WX_EXCLUSIVE 1 588 607 #else
Note:
See TracChangeset
for help on using the changeset viewer.