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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 V(ARRAY_POP_INDEX, JSFunction, array_pop) \ | 94 V(ARRAY_POP_INDEX, JSFunction, array_pop) \ |
95 V(ARRAY_PUSH_INDEX, JSFunction, array_push) \ | 95 V(ARRAY_PUSH_INDEX, JSFunction, array_push) \ |
96 V(ARRAY_SHIFT_INDEX, JSFunction, array_shift) \ | 96 V(ARRAY_SHIFT_INDEX, JSFunction, array_shift) \ |
97 V(ARRAY_SPLICE_INDEX, JSFunction, array_splice) \ | 97 V(ARRAY_SPLICE_INDEX, JSFunction, array_splice) \ |
98 V(ARRAY_SLICE_INDEX, JSFunction, array_slice) \ | 98 V(ARRAY_SLICE_INDEX, JSFunction, array_slice) \ |
99 V(ARRAY_UNSHIFT_INDEX, JSFunction, array_unshift) \ | 99 V(ARRAY_UNSHIFT_INDEX, JSFunction, array_unshift) \ |
100 V(ARRAY_VALUES_ITERATOR_INDEX, JSFunction, array_values_iterator) \ | 100 V(ARRAY_VALUES_ITERATOR_INDEX, JSFunction, array_values_iterator) \ |
101 V(ASYNC_FUNCTION_AWAIT_INDEX, JSFunction, async_function_await) \ | 101 V(ASYNC_FUNCTION_AWAIT_INDEX, JSFunction, async_function_await) \ |
102 V(DERIVED_GET_TRAP_INDEX, JSFunction, derived_get_trap) \ | 102 V(DERIVED_GET_TRAP_INDEX, JSFunction, derived_get_trap) \ |
103 V(ERROR_FUNCTION_INDEX, JSFunction, error_function) \ | 103 V(ERROR_FUNCTION_INDEX, JSFunction, error_function) \ |
104 V(ERROR_FORMAT_STACK_TRACE_INDEX, JSFunction, error_format_stack_trace) \ | |
105 V(EVAL_ERROR_FUNCTION_INDEX, JSFunction, eval_error_function) \ | 104 V(EVAL_ERROR_FUNCTION_INDEX, JSFunction, eval_error_function) \ |
106 V(GET_STACK_TRACE_LINE_INDEX, JSFunction, get_stack_trace_line_fun) \ | 105 V(GET_STACK_TRACE_LINE_INDEX, JSFunction, get_stack_trace_line_fun) \ |
107 V(GLOBAL_EVAL_FUN_INDEX, JSFunction, global_eval_fun) \ | 106 V(GLOBAL_EVAL_FUN_INDEX, JSFunction, global_eval_fun) \ |
108 V(MAKE_ERROR_FUNCTION_INDEX, JSFunction, make_error_function) \ | 107 V(MAKE_ERROR_FUNCTION_INDEX, JSFunction, make_error_function) \ |
109 V(MAP_DELETE_METHOD_INDEX, JSFunction, map_delete) \ | 108 V(MAP_DELETE_METHOD_INDEX, JSFunction, map_delete) \ |
110 V(MAP_GET_METHOD_INDEX, JSFunction, map_get) \ | 109 V(MAP_GET_METHOD_INDEX, JSFunction, map_get) \ |
111 V(MAP_HAS_METHOD_INDEX, JSFunction, map_has) \ | 110 V(MAP_HAS_METHOD_INDEX, JSFunction, map_has) \ |
112 V(MAP_SET_METHOD_INDEX, JSFunction, map_set) \ | 111 V(MAP_SET_METHOD_INDEX, JSFunction, map_set) \ |
113 V(MESSAGE_GET_COLUMN_NUMBER_INDEX, JSFunction, message_get_column_number) \ | 112 V(MESSAGE_GET_COLUMN_NUMBER_INDEX, JSFunction, message_get_column_number) \ |
114 V(MESSAGE_GET_LINE_NUMBER_INDEX, JSFunction, message_get_line_number) \ | 113 V(MESSAGE_GET_LINE_NUMBER_INDEX, JSFunction, message_get_line_number) \ |
(...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
571 #endif | 570 #endif |
572 | 571 |
573 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); | 572 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); |
574 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); | 573 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); |
575 }; | 574 }; |
576 | 575 |
577 } // namespace internal | 576 } // namespace internal |
578 } // namespace v8 | 577 } // namespace v8 |
579 | 578 |
580 #endif // V8_CONTEXTS_H_ | 579 #endif // V8_CONTEXTS_H_ |
OLD | NEW |