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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 V(MAP_SET_METHOD_INDEX, JSFunction, map_set) \ | 125 V(MAP_SET_METHOD_INDEX, JSFunction, map_set) \ |
126 V(MESSAGE_GET_COLUMN_NUMBER_INDEX, JSFunction, message_get_column_number) \ | 126 V(MESSAGE_GET_COLUMN_NUMBER_INDEX, JSFunction, message_get_column_number) \ |
127 V(MESSAGE_GET_LINE_NUMBER_INDEX, JSFunction, message_get_line_number) \ | 127 V(MESSAGE_GET_LINE_NUMBER_INDEX, JSFunction, message_get_line_number) \ |
128 V(MESSAGE_GET_SOURCE_LINE_INDEX, JSFunction, message_get_source_line) \ | 128 V(MESSAGE_GET_SOURCE_LINE_INDEX, JSFunction, message_get_source_line) \ |
129 V(NATIVE_OBJECT_GET_NOTIFIER_INDEX, JSFunction, native_object_get_notifier) \ | 129 V(NATIVE_OBJECT_GET_NOTIFIER_INDEX, JSFunction, native_object_get_notifier) \ |
130 V(NATIVE_OBJECT_NOTIFIER_PERFORM_CHANGE, JSFunction, \ | 130 V(NATIVE_OBJECT_NOTIFIER_PERFORM_CHANGE, JSFunction, \ |
131 native_object_notifier_perform_change) \ | 131 native_object_notifier_perform_change) \ |
132 V(NATIVE_OBJECT_OBSERVE_INDEX, JSFunction, native_object_observe) \ | 132 V(NATIVE_OBJECT_OBSERVE_INDEX, JSFunction, native_object_observe) \ |
133 V(NO_SIDE_EFFECT_TO_STRING_FUN_INDEX, JSFunction, \ | 133 V(NO_SIDE_EFFECT_TO_STRING_FUN_INDEX, JSFunction, \ |
134 no_side_effect_to_string_fun) \ | 134 no_side_effect_to_string_fun) \ |
| 135 V(OBJECT_VALUE_OF, JSFunction, object_value_of) \ |
| 136 V(OBJECT_TO_STRING, JSFunction, object_to_string) \ |
135 V(OBJECT_DEFINE_OWN_PROPERTY_INDEX, JSFunction, object_define_own_property) \ | 137 V(OBJECT_DEFINE_OWN_PROPERTY_INDEX, JSFunction, object_define_own_property) \ |
136 V(OBJECT_GET_OWN_PROPERTY_DESCROPTOR_INDEX, JSFunction, \ | 138 V(OBJECT_GET_OWN_PROPERTY_DESCROPTOR_INDEX, JSFunction, \ |
137 object_get_own_property_descriptor) \ | 139 object_get_own_property_descriptor) \ |
138 V(OBSERVERS_BEGIN_SPLICE_INDEX, JSFunction, observers_begin_perform_splice) \ | 140 V(OBSERVERS_BEGIN_SPLICE_INDEX, JSFunction, observers_begin_perform_splice) \ |
139 V(OBSERVERS_END_SPLICE_INDEX, JSFunction, observers_end_perform_splice) \ | 141 V(OBSERVERS_END_SPLICE_INDEX, JSFunction, observers_end_perform_splice) \ |
140 V(OBSERVERS_ENQUEUE_SPLICE_INDEX, JSFunction, observers_enqueue_splice) \ | 142 V(OBSERVERS_ENQUEUE_SPLICE_INDEX, JSFunction, observers_enqueue_splice) \ |
141 V(OBSERVERS_NOTIFY_CHANGE_INDEX, JSFunction, observers_notify_change) \ | 143 V(OBSERVERS_NOTIFY_CHANGE_INDEX, JSFunction, observers_notify_change) \ |
142 V(PROMISE_CATCH_INDEX, JSFunction, promise_catch) \ | 144 V(PROMISE_CATCH_INDEX, JSFunction, promise_catch) \ |
143 V(PROMISE_CHAIN_INDEX, JSFunction, promise_chain) \ | 145 V(PROMISE_CHAIN_INDEX, JSFunction, promise_chain) \ |
144 V(PROMISE_CREATE_INDEX, JSFunction, promise_create) \ | 146 V(PROMISE_CREATE_INDEX, JSFunction, promise_create) \ |
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
549 static bool IsBootstrappingOrGlobalObject(Isolate* isolate, Object* object); | 551 static bool IsBootstrappingOrGlobalObject(Isolate* isolate, Object* object); |
550 #endif | 552 #endif |
551 | 553 |
552 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); | 554 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); |
553 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); | 555 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); |
554 }; | 556 }; |
555 | 557 |
556 } } // namespace v8::internal | 558 } } // namespace v8::internal |
557 | 559 |
558 #endif // V8_CONTEXTS_H_ | 560 #endif // V8_CONTEXTS_H_ |
OLD | NEW |