| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 # define V8_INFINITY INFINITY | 26 # define V8_INFINITY INFINITY |
| 27 #endif | 27 #endif |
| 28 | 28 |
| 29 #if V8_TARGET_ARCH_IA32 || (V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_32_BIT) || \ | 29 #if V8_TARGET_ARCH_IA32 || (V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_32_BIT) || \ |
| 30 V8_TARGET_ARCH_ARM || V8_TARGET_ARCH_ARM64 || V8_TARGET_ARCH_MIPS || \ | 30 V8_TARGET_ARCH_ARM || V8_TARGET_ARCH_ARM64 || V8_TARGET_ARCH_MIPS || \ |
| 31 V8_TARGET_ARCH_MIPS64 | 31 V8_TARGET_ARCH_MIPS64 |
| 32 #define V8_TURBOFAN_BACKEND 1 | 32 #define V8_TURBOFAN_BACKEND 1 |
| 33 #else | 33 #else |
| 34 #define V8_TURBOFAN_BACKEND 0 | 34 #define V8_TURBOFAN_BACKEND 0 |
| 35 #endif | 35 #endif |
| 36 #if V8_TURBOFAN_BACKEND && !(V8_OS_WIN && V8_TARGET_ARCH_X64) | 36 #if V8_TURBOFAN_BACKEND |
| 37 #define V8_TURBOFAN_TARGET 1 | 37 #define V8_TURBOFAN_TARGET 1 |
| 38 #else | 38 #else |
| 39 #define V8_TURBOFAN_TARGET 0 | 39 #define V8_TURBOFAN_TARGET 0 |
| 40 #endif | 40 #endif |
| 41 | 41 |
| 42 namespace v8 { | 42 namespace v8 { |
| 43 | 43 |
| 44 namespace base { | 44 namespace base { |
| 45 class Mutex; | 45 class Mutex; |
| 46 class RecursiveMutex; | 46 class RecursiveMutex; |
| (...skipping 773 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 820 DCHECK(IsValidFunctionKind(kind)); | 820 DCHECK(IsValidFunctionKind(kind)); |
| 821 return kind & FunctionKind::kDefaultConstructor; | 821 return kind & FunctionKind::kDefaultConstructor; |
| 822 } | 822 } |
| 823 | 823 |
| 824 | 824 |
| 825 } } // namespace v8::internal | 825 } } // namespace v8::internal |
| 826 | 826 |
| 827 namespace i = v8::internal; | 827 namespace i = v8::internal; |
| 828 | 828 |
| 829 #endif // V8_GLOBALS_H_ | 829 #endif // V8_GLOBALS_H_ |
| OLD | NEW |