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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 V(ADD_STRONG_BUILTIN_INDEX, JSFunction, add_strong_builtin) \ | 95 V(ADD_STRONG_BUILTIN_INDEX, JSFunction, add_strong_builtin) \ |
96 V(APPLY_PREPARE_BUILTIN_INDEX, JSFunction, apply_prepare_builtin) \ | 96 V(APPLY_PREPARE_BUILTIN_INDEX, JSFunction, apply_prepare_builtin) \ |
97 V(BIT_AND_BUILTIN_INDEX, JSFunction, bit_and_builtin) \ | 97 V(BIT_AND_BUILTIN_INDEX, JSFunction, bit_and_builtin) \ |
98 V(BIT_AND_STRONG_BUILTIN_INDEX, JSFunction, bit_and_strong_builtin) \ | 98 V(BIT_AND_STRONG_BUILTIN_INDEX, JSFunction, bit_and_strong_builtin) \ |
99 V(BIT_OR_BUILTIN_INDEX, JSFunction, bit_or_builtin) \ | 99 V(BIT_OR_BUILTIN_INDEX, JSFunction, bit_or_builtin) \ |
100 V(BIT_OR_STRONG_BUILTIN_INDEX, JSFunction, bit_or_strong_builtin) \ | 100 V(BIT_OR_STRONG_BUILTIN_INDEX, JSFunction, bit_or_strong_builtin) \ |
101 V(BIT_XOR_BUILTIN_INDEX, JSFunction, bit_xor_builtin) \ | 101 V(BIT_XOR_BUILTIN_INDEX, JSFunction, bit_xor_builtin) \ |
102 V(BIT_XOR_STRONG_BUILTIN_INDEX, JSFunction, bit_xor_strong_builtin) \ | 102 V(BIT_XOR_STRONG_BUILTIN_INDEX, JSFunction, bit_xor_strong_builtin) \ |
103 V(CALL_FUNCTION_PROXY_AS_CONSTRUCTOR_BUILTIN_INDEX, JSFunction, \ | 103 V(CALL_FUNCTION_PROXY_AS_CONSTRUCTOR_BUILTIN_INDEX, JSFunction, \ |
104 call_function_proxy_as_constructor_builtin) \ | 104 call_function_proxy_as_constructor_builtin) \ |
| 105 V(CALL_FUNCTION_PROXY_BUILTIN_INDEX, JSFunction, \ |
| 106 call_function_proxy_builtin) \ |
105 V(CALL_NON_FUNCTION_AS_CONSTRUCTOR_BUILTIN_INDEX, JSFunction, \ | 107 V(CALL_NON_FUNCTION_AS_CONSTRUCTOR_BUILTIN_INDEX, JSFunction, \ |
106 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) \ |
107 V(COMPARE_BUILTIN_INDEX, JSFunction, compare_builtin) \ | 110 V(COMPARE_BUILTIN_INDEX, JSFunction, compare_builtin) \ |
108 V(COMPARE_STRONG_BUILTIN_INDEX, JSFunction, compare_strong_builtin) \ | 111 V(COMPARE_STRONG_BUILTIN_INDEX, JSFunction, compare_strong_builtin) \ |
109 V(CONCAT_ITERABLE_TO_ARRAY_BUILTIN_INDEX, JSFunction, \ | 112 V(CONCAT_ITERABLE_TO_ARRAY_BUILTIN_INDEX, JSFunction, \ |
110 concat_iterable_to_array_builtin) \ | 113 concat_iterable_to_array_builtin) \ |
111 V(DIV_BUILTIN_INDEX, JSFunction, div_builtin) \ | 114 V(DIV_BUILTIN_INDEX, JSFunction, div_builtin) \ |
112 V(DIV_STRONG_BUILTIN_INDEX, JSFunction, div_strong_builtin) \ | 115 V(DIV_STRONG_BUILTIN_INDEX, JSFunction, div_strong_builtin) \ |
113 V(EQUALS_BUILTIN_INDEX, JSFunction, equals_builtin) \ | 116 V(EQUALS_BUILTIN_INDEX, JSFunction, equals_builtin) \ |
114 V(MOD_BUILTIN_INDEX, JSFunction, mod_builtin) \ | 117 V(MOD_BUILTIN_INDEX, JSFunction, mod_builtin) \ |
115 V(MOD_STRONG_BUILTIN_INDEX, JSFunction, mod_strong_builtin) \ | 118 V(MOD_STRONG_BUILTIN_INDEX, JSFunction, mod_strong_builtin) \ |
116 V(MUL_BUILTIN_INDEX, JSFunction, mul_builtin) \ | 119 V(MUL_BUILTIN_INDEX, JSFunction, mul_builtin) \ |
(...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
582 static bool IsBootstrappingOrGlobalObject(Isolate* isolate, Object* object); | 585 static bool IsBootstrappingOrGlobalObject(Isolate* isolate, Object* object); |
583 #endif | 586 #endif |
584 | 587 |
585 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); | 588 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); |
586 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); | 589 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); |
587 }; | 590 }; |
588 | 591 |
589 } } // namespace v8::internal | 592 } } // namespace v8::internal |
590 | 593 |
591 #endif // V8_CONTEXTS_H_ | 594 #endif // V8_CONTEXTS_H_ |
OLD | NEW |