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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 V(PROMISE_CREATE_INDEX, JSFunction, promise_create) \ | 165 V(PROMISE_CREATE_INDEX, JSFunction, promise_create) \ |
166 V(PROMISE_RESOLVE_INDEX, JSFunction, promise_resolve) \ | 166 V(PROMISE_RESOLVE_INDEX, JSFunction, promise_resolve) \ |
167 V(PROMISE_REJECT_INDEX, JSFunction, promise_reject) \ | 167 V(PROMISE_REJECT_INDEX, JSFunction, promise_reject) \ |
168 V(PROMISE_CHAIN_INDEX, JSFunction, promise_chain) \ | 168 V(PROMISE_CHAIN_INDEX, JSFunction, promise_chain) \ |
169 V(PROMISE_CATCH_INDEX, JSFunction, promise_catch) \ | 169 V(PROMISE_CATCH_INDEX, JSFunction, promise_catch) \ |
170 V(PROMISE_THEN_INDEX, JSFunction, promise_then) \ | 170 V(PROMISE_THEN_INDEX, JSFunction, promise_then) \ |
171 V(PROMISE_HAS_USER_DEFINED_REJECT_HANDLER_INDEX, JSFunction, \ | 171 V(PROMISE_HAS_USER_DEFINED_REJECT_HANDLER_INDEX, JSFunction, \ |
172 promise_has_user_defined_reject_handler) \ | 172 promise_has_user_defined_reject_handler) \ |
173 V(TO_COMPLETE_PROPERTY_DESCRIPTOR_INDEX, JSFunction, \ | 173 V(TO_COMPLETE_PROPERTY_DESCRIPTOR_INDEX, JSFunction, \ |
174 to_complete_property_descriptor) \ | 174 to_complete_property_descriptor) \ |
| 175 V(OBJECT_DEFINE_OWN_PROPERTY_INDEX, JSFunction, object_define_own_property) \ |
| 176 V(OBJECT_GET_OWN_PROPERTY_DESCROPTOR_INDEX, JSFunction, \ |
| 177 object_get_own_property_descriptor) \ |
| 178 V(MESSAGE_GET_LINE_NUMBER_INDEX, JSFunction, message_get_line_number) \ |
| 179 V(MESSAGE_GET_COLUMN_NUMBER_INDEX, JSFunction, message_get_column_number) \ |
| 180 V(MESSAGE_GET_SOURCE_LINE_INDEX, JSFunction, message_get_source_line) \ |
| 181 V(STACK_OVERFLOW_BOILERPLATE_INDEX, JSObject, stack_overflow_boilerplate) \ |
175 V(JSON_SERIALIZE_ADAPTER_INDEX, JSFunction, json_serialize_adapter) \ | 182 V(JSON_SERIALIZE_ADAPTER_INDEX, JSFunction, json_serialize_adapter) \ |
176 V(DERIVED_HAS_TRAP_INDEX, JSFunction, derived_has_trap) \ | 183 V(DERIVED_HAS_TRAP_INDEX, JSFunction, derived_has_trap) \ |
177 V(DERIVED_GET_TRAP_INDEX, JSFunction, derived_get_trap) \ | 184 V(DERIVED_GET_TRAP_INDEX, JSFunction, derived_get_trap) \ |
178 V(DERIVED_SET_TRAP_INDEX, JSFunction, derived_set_trap) \ | 185 V(DERIVED_SET_TRAP_INDEX, JSFunction, derived_set_trap) \ |
179 V(PROXY_ENUMERATE_INDEX, JSFunction, proxy_enumerate) \ | 186 V(PROXY_ENUMERATE_INDEX, JSFunction, proxy_enumerate) \ |
180 V(OBSERVERS_NOTIFY_CHANGE_INDEX, JSFunction, observers_notify_change) \ | 187 V(OBSERVERS_NOTIFY_CHANGE_INDEX, JSFunction, observers_notify_change) \ |
181 V(OBSERVERS_ENQUEUE_SPLICE_INDEX, JSFunction, observers_enqueue_splice) \ | 188 V(OBSERVERS_ENQUEUE_SPLICE_INDEX, JSFunction, observers_enqueue_splice) \ |
182 V(OBSERVERS_BEGIN_SPLICE_INDEX, JSFunction, observers_begin_perform_splice) \ | 189 V(OBSERVERS_BEGIN_SPLICE_INDEX, JSFunction, observers_begin_perform_splice) \ |
183 V(OBSERVERS_END_SPLICE_INDEX, JSFunction, observers_end_perform_splice) \ | 190 V(OBSERVERS_END_SPLICE_INDEX, JSFunction, observers_end_perform_splice) \ |
184 V(NATIVE_OBJECT_OBSERVE_INDEX, JSFunction, native_object_observe) \ | 191 V(NATIVE_OBJECT_OBSERVE_INDEX, JSFunction, native_object_observe) \ |
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
544 static bool IsBootstrappingOrGlobalObject(Isolate* isolate, Object* object); | 551 static bool IsBootstrappingOrGlobalObject(Isolate* isolate, Object* object); |
545 #endif | 552 #endif |
546 | 553 |
547 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); | 554 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); |
548 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); | 555 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); |
549 }; | 556 }; |
550 | 557 |
551 } } // namespace v8::internal | 558 } } // namespace v8::internal |
552 | 559 |
553 #endif // V8_CONTEXTS_H_ | 560 #endif // V8_CONTEXTS_H_ |
OLD | NEW |