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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 V(OBJECT_TO_STRING, JSFunction, object_to_string) \ | 89 V(OBJECT_TO_STRING, JSFunction, object_to_string) \ |
90 V(PROMISE_CATCH_INDEX, JSFunction, promise_catch) \ | 90 V(PROMISE_CATCH_INDEX, JSFunction, promise_catch) \ |
91 V(PROMISE_CREATE_INDEX, JSFunction, promise_create) \ | 91 V(PROMISE_CREATE_INDEX, JSFunction, promise_create) \ |
92 V(PROMISE_FUNCTION_INDEX, JSFunction, promise_function) \ | 92 V(PROMISE_FUNCTION_INDEX, JSFunction, promise_function) \ |
93 V(PROMISE_HAS_USER_DEFINED_REJECT_HANDLER_INDEX, JSFunction, \ | 93 V(PROMISE_HAS_USER_DEFINED_REJECT_HANDLER_INDEX, JSFunction, \ |
94 promise_has_user_defined_reject_handler) \ | 94 promise_has_user_defined_reject_handler) \ |
95 V(PROMISE_REJECT_INDEX, JSFunction, promise_reject) \ | 95 V(PROMISE_REJECT_INDEX, JSFunction, promise_reject) \ |
96 V(PROMISE_RESOLVE_INDEX, JSFunction, promise_resolve) \ | 96 V(PROMISE_RESOLVE_INDEX, JSFunction, promise_resolve) \ |
97 V(PROMISE_THEN_INDEX, JSFunction, promise_then) \ | 97 V(PROMISE_THEN_INDEX, JSFunction, promise_then) \ |
98 V(RANGE_ERROR_FUNCTION_INDEX, JSFunction, range_error_function) \ | 98 V(RANGE_ERROR_FUNCTION_INDEX, JSFunction, range_error_function) \ |
| 99 V(REGEXP_LAST_MATCH_INFO_INDEX, JSObject, regexp_last_match_info) \ |
99 V(REJECT_PROMISE_NO_DEBUG_EVENT_INDEX, JSFunction, \ | 100 V(REJECT_PROMISE_NO_DEBUG_EVENT_INDEX, JSFunction, \ |
100 reject_promise_no_debug_event) \ | 101 reject_promise_no_debug_event) \ |
101 V(REFERENCE_ERROR_FUNCTION_INDEX, JSFunction, reference_error_function) \ | 102 V(REFERENCE_ERROR_FUNCTION_INDEX, JSFunction, reference_error_function) \ |
102 V(SET_ADD_METHOD_INDEX, JSFunction, set_add) \ | 103 V(SET_ADD_METHOD_INDEX, JSFunction, set_add) \ |
103 V(SET_DELETE_METHOD_INDEX, JSFunction, set_delete) \ | 104 V(SET_DELETE_METHOD_INDEX, JSFunction, set_delete) \ |
104 V(SET_HAS_METHOD_INDEX, JSFunction, set_has) \ | 105 V(SET_HAS_METHOD_INDEX, JSFunction, set_has) \ |
105 V(SYNTAX_ERROR_FUNCTION_INDEX, JSFunction, syntax_error_function) \ | 106 V(SYNTAX_ERROR_FUNCTION_INDEX, JSFunction, syntax_error_function) \ |
106 V(TYPE_ERROR_FUNCTION_INDEX, JSFunction, type_error_function) \ | 107 V(TYPE_ERROR_FUNCTION_INDEX, JSFunction, type_error_function) \ |
107 V(URI_ERROR_FUNCTION_INDEX, JSFunction, uri_error_function) | 108 V(URI_ERROR_FUNCTION_INDEX, JSFunction, uri_error_function) |
108 | 109 |
(...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
557 #endif | 558 #endif |
558 | 559 |
559 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); | 560 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); |
560 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); | 561 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); |
561 }; | 562 }; |
562 | 563 |
563 } // namespace internal | 564 } // namespace internal |
564 } // namespace v8 | 565 } // namespace v8 |
565 | 566 |
566 #endif // V8_CONTEXTS_H_ | 567 #endif // V8_CONTEXTS_H_ |
OLD | NEW |