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_CONTEXTS_H_ | 5 #ifndef V8_CONTEXTS_H_ |
6 #define V8_CONTEXTS_H_ | 6 #define V8_CONTEXTS_H_ |
7 | 7 |
8 #include "src/heap/heap.h" | 8 #include "src/heap/heap.h" |
9 #include "src/objects.h" | 9 #include "src/objects.h" |
10 | 10 |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 V(CALL_NON_FUNCTION_AS_CONSTRUCTOR_BUILTIN_INDEX, JSFunction, \ | 107 V(CALL_NON_FUNCTION_AS_CONSTRUCTOR_BUILTIN_INDEX, JSFunction, \ |
108 call_non_function_as_constructor_builtin) \ | 108 call_non_function_as_constructor_builtin) \ |
109 V(CALL_NON_FUNCTION_BUILTIN_INDEX, JSFunction, call_non_function_builtin) \ | 109 V(CALL_NON_FUNCTION_BUILTIN_INDEX, JSFunction, call_non_function_builtin) \ |
110 V(COMPARE_BUILTIN_INDEX, JSFunction, compare_builtin) \ | 110 V(COMPARE_BUILTIN_INDEX, JSFunction, compare_builtin) \ |
111 V(COMPARE_STRONG_BUILTIN_INDEX, JSFunction, compare_strong_builtin) \ | 111 V(COMPARE_STRONG_BUILTIN_INDEX, JSFunction, compare_strong_builtin) \ |
112 V(CONCAT_ITERABLE_TO_ARRAY_BUILTIN_INDEX, JSFunction, \ | 112 V(CONCAT_ITERABLE_TO_ARRAY_BUILTIN_INDEX, JSFunction, \ |
113 concat_iterable_to_array_builtin) \ | 113 concat_iterable_to_array_builtin) \ |
114 V(DIV_BUILTIN_INDEX, JSFunction, div_builtin) \ | 114 V(DIV_BUILTIN_INDEX, JSFunction, div_builtin) \ |
115 V(DIV_STRONG_BUILTIN_INDEX, JSFunction, div_strong_builtin) \ | 115 V(DIV_STRONG_BUILTIN_INDEX, JSFunction, div_strong_builtin) \ |
116 V(EQUALS_BUILTIN_INDEX, JSFunction, equals_builtin) \ | 116 V(EQUALS_BUILTIN_INDEX, JSFunction, equals_builtin) \ |
117 V(IN_BUILTIN_INDEX, JSFunction, in_builtin) \ | |
118 V(MOD_BUILTIN_INDEX, JSFunction, mod_builtin) \ | 117 V(MOD_BUILTIN_INDEX, JSFunction, mod_builtin) \ |
119 V(MOD_STRONG_BUILTIN_INDEX, JSFunction, mod_strong_builtin) \ | 118 V(MOD_STRONG_BUILTIN_INDEX, JSFunction, mod_strong_builtin) \ |
120 V(MUL_BUILTIN_INDEX, JSFunction, mul_builtin) \ | 119 V(MUL_BUILTIN_INDEX, JSFunction, mul_builtin) \ |
121 V(MUL_STRONG_BUILTIN_INDEX, JSFunction, mul_strong_builtin) \ | 120 V(MUL_STRONG_BUILTIN_INDEX, JSFunction, mul_strong_builtin) \ |
122 V(REFLECT_APPLY_PREPARE_BUILTIN_INDEX, JSFunction, \ | 121 V(REFLECT_APPLY_PREPARE_BUILTIN_INDEX, JSFunction, \ |
123 reflect_apply_prepare_builtin) \ | 122 reflect_apply_prepare_builtin) \ |
124 V(REFLECT_CONSTRUCT_PREPARE_BUILTIN_INDEX, JSFunction, \ | 123 V(REFLECT_CONSTRUCT_PREPARE_BUILTIN_INDEX, JSFunction, \ |
125 reflect_construct_prepare_builtin) \ | 124 reflect_construct_prepare_builtin) \ |
126 V(SAR_BUILTIN_INDEX, JSFunction, sar_builtin) \ | 125 V(SAR_BUILTIN_INDEX, JSFunction, sar_builtin) \ |
127 V(SAR_STRONG_BUILTIN_INDEX, JSFunction, sar_strong_builtin) \ | 126 V(SAR_STRONG_BUILTIN_INDEX, JSFunction, sar_strong_builtin) \ |
(...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
586 static bool IsBootstrappingOrGlobalObject(Isolate* isolate, Object* object); | 585 static bool IsBootstrappingOrGlobalObject(Isolate* isolate, Object* object); |
587 #endif | 586 #endif |
588 | 587 |
589 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); | 588 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); |
590 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); | 589 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); |
591 }; | 590 }; |
592 | 591 |
593 } } // namespace v8::internal | 592 } } // namespace v8::internal |
594 | 593 |
595 #endif // V8_CONTEXTS_H_ | 594 #endif // V8_CONTEXTS_H_ |
OLD | NEW |