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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 V(OBSERVERS_NOTIFY_CHANGE_INDEX, JSFunction, observers_notify_change) \ | 133 V(OBSERVERS_NOTIFY_CHANGE_INDEX, JSFunction, observers_notify_change) \ |
134 V(PROMISE_CATCH_INDEX, JSFunction, promise_catch) \ | 134 V(PROMISE_CATCH_INDEX, JSFunction, promise_catch) \ |
135 V(PROMISE_CHAIN_INDEX, JSFunction, promise_chain) \ | 135 V(PROMISE_CHAIN_INDEX, JSFunction, promise_chain) \ |
136 V(PROMISE_CREATE_INDEX, JSFunction, promise_create) \ | 136 V(PROMISE_CREATE_INDEX, JSFunction, promise_create) \ |
137 V(PROMISE_FUNCTION_INDEX, JSFunction, promise_function) \ | 137 V(PROMISE_FUNCTION_INDEX, JSFunction, promise_function) \ |
138 V(PROMISE_HAS_USER_DEFINED_REJECT_HANDLER_INDEX, JSFunction, \ | 138 V(PROMISE_HAS_USER_DEFINED_REJECT_HANDLER_INDEX, JSFunction, \ |
139 promise_has_user_defined_reject_handler) \ | 139 promise_has_user_defined_reject_handler) \ |
140 V(PROMISE_REJECT_INDEX, JSFunction, promise_reject) \ | 140 V(PROMISE_REJECT_INDEX, JSFunction, promise_reject) \ |
141 V(PROMISE_RESOLVE_INDEX, JSFunction, promise_resolve) \ | 141 V(PROMISE_RESOLVE_INDEX, JSFunction, promise_resolve) \ |
142 V(PROMISE_THEN_INDEX, JSFunction, promise_then) \ | 142 V(PROMISE_THEN_INDEX, JSFunction, promise_then) \ |
143 V(PROXY_ENUMERATE_INDEX, JSFunction, proxy_enumerate) \ | |
144 V(RANGE_ERROR_FUNCTION_INDEX, JSFunction, range_error_function) \ | 143 V(RANGE_ERROR_FUNCTION_INDEX, JSFunction, range_error_function) \ |
145 V(REFERENCE_ERROR_FUNCTION_INDEX, JSFunction, reference_error_function) \ | 144 V(REFERENCE_ERROR_FUNCTION_INDEX, JSFunction, reference_error_function) \ |
146 V(SET_ADD_METHOD_INDEX, JSFunction, set_add) \ | 145 V(SET_ADD_METHOD_INDEX, JSFunction, set_add) \ |
147 V(SET_DELETE_METHOD_INDEX, JSFunction, set_delete) \ | 146 V(SET_DELETE_METHOD_INDEX, JSFunction, set_delete) \ |
148 V(SET_HAS_METHOD_INDEX, JSFunction, set_has) \ | 147 V(SET_HAS_METHOD_INDEX, JSFunction, set_has) \ |
149 V(STACK_OVERFLOW_BOILERPLATE_INDEX, JSObject, stack_overflow_boilerplate) \ | 148 V(STACK_OVERFLOW_BOILERPLATE_INDEX, JSObject, stack_overflow_boilerplate) \ |
150 V(SYNTAX_ERROR_FUNCTION_INDEX, JSFunction, syntax_error_function) \ | 149 V(SYNTAX_ERROR_FUNCTION_INDEX, JSFunction, syntax_error_function) \ |
151 V(TYPE_ERROR_FUNCTION_INDEX, JSFunction, type_error_function) \ | 150 V(TYPE_ERROR_FUNCTION_INDEX, JSFunction, type_error_function) \ |
152 V(URI_ERROR_FUNCTION_INDEX, JSFunction, uri_error_function) | 151 V(URI_ERROR_FUNCTION_INDEX, JSFunction, uri_error_function) |
153 | 152 |
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
590 #endif | 589 #endif |
591 | 590 |
592 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); | 591 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); |
593 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); | 592 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); |
594 }; | 593 }; |
595 | 594 |
596 } // namespace internal | 595 } // namespace internal |
597 } // namespace v8 | 596 } // namespace v8 |
598 | 597 |
599 #endif // V8_CONTEXTS_H_ | 598 #endif // V8_CONTEXTS_H_ |
OLD | NEW |