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 20 matching lines...) Expand all Loading... | |
31 V8_TARGET_ARCH_MIPS64 || V8_TARGET_ARCH_PPC | 31 V8_TARGET_ARCH_MIPS64 || V8_TARGET_ARCH_PPC |
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 | 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 #if V8_OS_AIX | |
42 #undef V8_INFINITY | |
Sven Panne
2015/01/27 11:47:06
No #undef, please, move this up to the place where
michael_dawson
2015/01/29 00:08:29
Will do
| |
43 #define V8_INFINITY (__builtin_inff()) | |
44 #endif | |
41 | 45 |
42 namespace v8 { | 46 namespace v8 { |
43 | 47 |
44 namespace base { | 48 namespace base { |
45 class Mutex; | 49 class Mutex; |
46 class RecursiveMutex; | 50 class RecursiveMutex; |
47 class VirtualMemory; | 51 class VirtualMemory; |
48 } | 52 } |
49 | 53 |
50 namespace internal { | 54 namespace internal { |
(...skipping 764 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
815 DCHECK(IsValidFunctionKind(kind)); | 819 DCHECK(IsValidFunctionKind(kind)); |
816 return kind & FunctionKind::kDefaultConstructor; | 820 return kind & FunctionKind::kDefaultConstructor; |
817 } | 821 } |
818 | 822 |
819 | 823 |
820 } } // namespace v8::internal | 824 } } // namespace v8::internal |
821 | 825 |
822 namespace i = v8::internal; | 826 namespace i = v8::internal; |
823 | 827 |
824 #endif // V8_GLOBALS_H_ | 828 #endif // V8_GLOBALS_H_ |
OLD | NEW |