| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_GLOBALS_H_ | 5 #ifndef V8_GLOBALS_H_ |
| 6 #define V8_GLOBALS_H_ | 6 #define V8_GLOBALS_H_ |
| 7 | 7 |
| 8 #include "include/v8stdint.h" | 8 #include "include/v8stdint.h" |
| 9 | 9 |
| 10 #include "src/base/build_config.h" | 10 #include "src/base/build_config.h" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 #else | 24 #else |
| 25 # define V8_INFINITY INFINITY | 25 # define V8_INFINITY INFINITY |
| 26 #endif | 26 #endif |
| 27 | 27 |
| 28 #if V8_TARGET_ARCH_IA32 || V8_TARGET_ARCH_X64 || V8_TARGET_ARCH_ARM || \ | 28 #if V8_TARGET_ARCH_IA32 || V8_TARGET_ARCH_X64 || V8_TARGET_ARCH_ARM || \ |
| 29 V8_TARGET_ARCH_ARM64 | 29 V8_TARGET_ARCH_ARM64 |
| 30 #define V8_TURBOFAN_BACKEND 1 | 30 #define V8_TURBOFAN_BACKEND 1 |
| 31 #else | 31 #else |
| 32 #define V8_TURBOFAN_BACKEND 0 | 32 #define V8_TURBOFAN_BACKEND 0 |
| 33 #endif | 33 #endif |
| 34 #if V8_TURBOFAN_BACKEND && !V8_TARGET_ARCH_ARM64 && \ | 34 #if V8_TURBOFAN_BACKEND && !(V8_OS_WIN && V8_TARGET_ARCH_X64) |
| 35 !(V8_OS_WIN && V8_TARGET_ARCH_X64) | |
| 36 #define V8_TURBOFAN_TARGET 1 | 35 #define V8_TURBOFAN_TARGET 1 |
| 37 #else | 36 #else |
| 38 #define V8_TURBOFAN_TARGET 0 | 37 #define V8_TURBOFAN_TARGET 0 |
| 39 #endif | 38 #endif |
| 40 | 39 |
| 41 namespace v8 { | 40 namespace v8 { |
| 42 | 41 |
| 43 namespace base { | 42 namespace base { |
| 44 class Mutex; | 43 class Mutex; |
| 45 class RecursiveMutex; | 44 class RecursiveMutex; |
| (...skipping 701 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 747 enum MinusZeroMode { | 746 enum MinusZeroMode { |
| 748 TREAT_MINUS_ZERO_AS_ZERO, | 747 TREAT_MINUS_ZERO_AS_ZERO, |
| 749 FAIL_ON_MINUS_ZERO | 748 FAIL_ON_MINUS_ZERO |
| 750 }; | 749 }; |
| 751 | 750 |
| 752 } } // namespace v8::internal | 751 } } // namespace v8::internal |
| 753 | 752 |
| 754 namespace i = v8::internal; | 753 namespace i = v8::internal; |
| 755 | 754 |
| 756 #endif // V8_GLOBALS_H_ | 755 #endif // V8_GLOBALS_H_ |
| OLD | NEW |