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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 #define V8_DEFAULT_STACK_SIZE_KB 864 | 77 #define V8_DEFAULT_STACK_SIZE_KB 864 |
78 #else | 78 #else |
79 // Slightly less than 1MB, since Windows' default stack size for | 79 // Slightly less than 1MB, since Windows' default stack size for |
80 // the main execution thread is 1MB for both 32 and 64-bit. | 80 // the main execution thread is 1MB for both 32 and 64-bit. |
81 #define V8_DEFAULT_STACK_SIZE_KB 984 | 81 #define V8_DEFAULT_STACK_SIZE_KB 984 |
82 #endif | 82 #endif |
83 | 83 |
84 | 84 |
85 // Determine whether double field unboxing feature is enabled. | 85 // Determine whether double field unboxing feature is enabled. |
86 #if (V8_TARGET_ARCH_X64 || V8_TARGET_ARCH_ARM64) | 86 #if (V8_TARGET_ARCH_X64 || V8_TARGET_ARCH_ARM64) |
87 #define V8_DOUBLE_FIELDS_UNBOXING 1 | 87 #define V8_DOUBLE_FIELDS_UNBOXING 0 |
88 #else | 88 #else |
89 #define V8_DOUBLE_FIELDS_UNBOXING 0 | 89 #define V8_DOUBLE_FIELDS_UNBOXING 0 |
90 #endif | 90 #endif |
91 | 91 |
92 | 92 |
93 typedef uint8_t byte; | 93 typedef uint8_t byte; |
94 typedef byte* Address; | 94 typedef byte* Address; |
95 | 95 |
96 // ----------------------------------------------------------------------------- | 96 // ----------------------------------------------------------------------------- |
97 // Constants | 97 // Constants |
(...skipping 712 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
810 DCHECK(IsValidFunctionKind(kind)); | 810 DCHECK(IsValidFunctionKind(kind)); |
811 return kind & FunctionKind::kDefaultConstructor; | 811 return kind & FunctionKind::kDefaultConstructor; |
812 } | 812 } |
813 | 813 |
814 | 814 |
815 } } // namespace v8::internal | 815 } } // namespace v8::internal |
816 | 816 |
817 namespace i = v8::internal; | 817 namespace i = v8::internal; |
818 | 818 |
819 #endif // V8_GLOBALS_H_ | 819 #endif // V8_GLOBALS_H_ |
OLD | NEW |