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(JSON_SERIALIZE_ADAPTER_INDEX, JSFunction, json_serialize_adapter) \ | 107 V(JSON_SERIALIZE_ADAPTER_INDEX, JSFunction, json_serialize_adapter) \ |
108 V(MAKE_ERROR_FUNCTION_INDEX, JSFunction, make_error_function) \ | 108 V(MAKE_ERROR_FUNCTION_INDEX, JSFunction, make_error_function) \ |
109 V(MAP_DELETE_METHOD_INDEX, JSFunction, map_delete) \ | 109 V(MAP_DELETE_METHOD_INDEX, JSFunction, map_delete) \ |
110 V(MAP_GET_METHOD_INDEX, JSFunction, map_get) \ | 110 V(MAP_GET_METHOD_INDEX, JSFunction, map_get) \ |
111 V(MAP_HAS_METHOD_INDEX, JSFunction, map_has) \ | 111 V(MAP_HAS_METHOD_INDEX, JSFunction, map_has) \ |
112 V(MAP_SET_METHOD_INDEX, JSFunction, map_set) \ | 112 V(MAP_SET_METHOD_INDEX, JSFunction, map_set) \ |
113 V(MATH_POW_METHOD_INDEX, JSFunction, math_pow) \ | 113 V(MATH_POW_METHOD_INDEX, JSFunction, math_pow) \ |
114 V(MESSAGE_GET_COLUMN_NUMBER_INDEX, JSFunction, message_get_column_number) \ | 114 V(MESSAGE_GET_COLUMN_NUMBER_INDEX, JSFunction, message_get_column_number) \ |
115 V(MESSAGE_GET_LINE_NUMBER_INDEX, JSFunction, message_get_line_number) \ | 115 V(MESSAGE_GET_LINE_NUMBER_INDEX, JSFunction, message_get_line_number) \ |
116 V(MESSAGE_GET_SOURCE_LINE_INDEX, JSFunction, message_get_source_line) \ | 116 V(MESSAGE_GET_SOURCE_LINE_INDEX, JSFunction, message_get_source_line) \ |
117 V(NATIVE_OBJECT_GET_NOTIFIER_INDEX, JSFunction, native_object_get_notifier) \ | |
118 V(NATIVE_OBJECT_NOTIFIER_PERFORM_CHANGE, JSFunction, \ | |
119 native_object_notifier_perform_change) \ | |
120 V(NATIVE_OBJECT_OBSERVE_INDEX, JSFunction, native_object_observe) \ | |
121 V(NO_SIDE_EFFECTS_TO_STRING_FUN_INDEX, JSFunction, \ | 117 V(NO_SIDE_EFFECTS_TO_STRING_FUN_INDEX, JSFunction, \ |
122 no_side_effects_to_string_fun) \ | 118 no_side_effects_to_string_fun) \ |
123 V(OBJECT_VALUE_OF, JSFunction, object_value_of) \ | 119 V(OBJECT_VALUE_OF, JSFunction, object_value_of) \ |
124 V(OBJECT_TO_STRING, JSFunction, object_to_string) \ | 120 V(OBJECT_TO_STRING, JSFunction, object_to_string) \ |
125 V(PROMISE_CATCH_INDEX, JSFunction, promise_catch) \ | 121 V(PROMISE_CATCH_INDEX, JSFunction, promise_catch) \ |
126 V(PROMISE_CHAIN_INDEX, JSFunction, promise_chain) \ | 122 V(PROMISE_CHAIN_INDEX, JSFunction, promise_chain) \ |
127 V(PROMISE_CREATE_INDEX, JSFunction, promise_create) \ | 123 V(PROMISE_CREATE_INDEX, JSFunction, promise_create) \ |
128 V(PROMISE_FUNCTION_INDEX, JSFunction, promise_function) \ | 124 V(PROMISE_FUNCTION_INDEX, JSFunction, promise_function) \ |
129 V(PROMISE_HAS_USER_DEFINED_REJECT_HANDLER_INDEX, JSFunction, \ | 125 V(PROMISE_HAS_USER_DEFINED_REJECT_HANDLER_INDEX, JSFunction, \ |
130 promise_has_user_defined_reject_handler) \ | 126 promise_has_user_defined_reject_handler) \ |
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
559 #endif | 555 #endif |
560 | 556 |
561 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); | 557 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); |
562 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); | 558 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); |
563 }; | 559 }; |
564 | 560 |
565 } // namespace internal | 561 } // namespace internal |
566 } // namespace v8 | 562 } // namespace v8 |
567 | 563 |
568 #endif // V8_CONTEXTS_H_ | 564 #endif // V8_CONTEXTS_H_ |
OLD | NEW |