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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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(EVAL_ERROR_FUNCTION_INDEX, JSFunction, eval_error_function) \ | 104 V(EVAL_ERROR_FUNCTION_INDEX, JSFunction, eval_error_function) \ |
105 V(GET_STACK_TRACE_LINE_INDEX, JSFunction, get_stack_trace_line_fun) \ | |
106 V(GLOBAL_EVAL_FUN_INDEX, JSFunction, global_eval_fun) \ | 105 V(GLOBAL_EVAL_FUN_INDEX, JSFunction, global_eval_fun) \ |
107 V(MAKE_ERROR_FUNCTION_INDEX, JSFunction, make_error_function) \ | 106 V(MAKE_ERROR_FUNCTION_INDEX, JSFunction, make_error_function) \ |
108 V(MAP_DELETE_METHOD_INDEX, JSFunction, map_delete) \ | 107 V(MAP_DELETE_METHOD_INDEX, JSFunction, map_delete) \ |
109 V(MAP_GET_METHOD_INDEX, JSFunction, map_get) \ | 108 V(MAP_GET_METHOD_INDEX, JSFunction, map_get) \ |
110 V(MAP_HAS_METHOD_INDEX, JSFunction, map_has) \ | 109 V(MAP_HAS_METHOD_INDEX, JSFunction, map_has) \ |
111 V(MAP_SET_METHOD_INDEX, JSFunction, map_set) \ | 110 V(MAP_SET_METHOD_INDEX, JSFunction, map_set) \ |
112 V(MESSAGE_GET_COLUMN_NUMBER_INDEX, JSFunction, message_get_column_number) \ | 111 V(MESSAGE_GET_COLUMN_NUMBER_INDEX, JSFunction, message_get_column_number) \ |
113 V(MESSAGE_GET_LINE_NUMBER_INDEX, JSFunction, message_get_line_number) \ | 112 V(MESSAGE_GET_LINE_NUMBER_INDEX, JSFunction, message_get_line_number) \ |
114 V(MESSAGE_GET_SOURCE_LINE_INDEX, JSFunction, message_get_source_line) \ | 113 V(MESSAGE_GET_SOURCE_LINE_INDEX, JSFunction, message_get_source_line) \ |
115 V(NO_SIDE_EFFECTS_TO_STRING_FUN_INDEX, JSFunction, \ | 114 V(NO_SIDE_EFFECTS_TO_STRING_FUN_INDEX, JSFunction, \ |
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
568 #endif | 567 #endif |
569 | 568 |
570 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); | 569 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); |
571 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); | 570 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); |
572 }; | 571 }; |
573 | 572 |
574 } // namespace internal | 573 } // namespace internal |
575 } // namespace v8 | 574 } // namespace v8 |
576 | 575 |
577 #endif // V8_CONTEXTS_H_ | 576 #endif // V8_CONTEXTS_H_ |
OLD | NEW |