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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 V(NUMBER_FUNCTION_INDEX, JSFunction, number_function) \ | 191 V(NUMBER_FUNCTION_INDEX, JSFunction, number_function) \ |
192 V(OBJECT_FUNCTION_INDEX, JSFunction, object_function) \ | 192 V(OBJECT_FUNCTION_INDEX, JSFunction, object_function) \ |
193 V(OBJECT_WITH_NULL_PROTOTYPE_MAP, Map, object_with_null_prototype_map) \ | 193 V(OBJECT_WITH_NULL_PROTOTYPE_MAP, Map, object_with_null_prototype_map) \ |
194 V(OBJECT_FUNCTION_PROTOTYPE_MAP_INDEX, Map, object_function_prototype_map) \ | 194 V(OBJECT_FUNCTION_PROTOTYPE_MAP_INDEX, Map, object_function_prototype_map) \ |
195 V(OPAQUE_REFERENCE_FUNCTION_INDEX, JSFunction, opaque_reference_function) \ | 195 V(OPAQUE_REFERENCE_FUNCTION_INDEX, JSFunction, opaque_reference_function) \ |
196 V(PROXY_CALLABLE_MAP_INDEX, Map, proxy_callable_map) \ | 196 V(PROXY_CALLABLE_MAP_INDEX, Map, proxy_callable_map) \ |
197 V(PROXY_CONSTRUCTOR_MAP_INDEX, Map, proxy_constructor_map) \ | 197 V(PROXY_CONSTRUCTOR_MAP_INDEX, Map, proxy_constructor_map) \ |
198 V(PROXY_FUNCTION_INDEX, JSFunction, proxy_function) \ | 198 V(PROXY_FUNCTION_INDEX, JSFunction, proxy_function) \ |
199 V(PROXY_FUNCTION_MAP_INDEX, Map, proxy_function_map) \ | 199 V(PROXY_FUNCTION_MAP_INDEX, Map, proxy_function_map) \ |
200 V(PROXY_MAP_INDEX, Map, proxy_map) \ | 200 V(PROXY_MAP_INDEX, Map, proxy_map) \ |
| 201 V(REGEXP_EXEC_FUNCTION_INDEX, JSFunction, regexp_exec_function) \ |
201 V(REGEXP_FUNCTION_INDEX, JSFunction, regexp_function) \ | 202 V(REGEXP_FUNCTION_INDEX, JSFunction, regexp_function) \ |
202 V(REGEXP_RESULT_MAP_INDEX, Map, regexp_result_map) \ | 203 V(REGEXP_RESULT_MAP_INDEX, Map, regexp_result_map) \ |
203 V(SCRIPT_CONTEXT_TABLE_INDEX, ScriptContextTable, script_context_table) \ | 204 V(SCRIPT_CONTEXT_TABLE_INDEX, ScriptContextTable, script_context_table) \ |
204 V(SCRIPT_FUNCTION_INDEX, JSFunction, script_function) \ | 205 V(SCRIPT_FUNCTION_INDEX, JSFunction, script_function) \ |
205 V(SECURITY_TOKEN_INDEX, Object, security_token) \ | 206 V(SECURITY_TOKEN_INDEX, Object, security_token) \ |
206 V(SELF_WEAK_CELL_INDEX, WeakCell, self_weak_cell) \ | 207 V(SELF_WEAK_CELL_INDEX, WeakCell, self_weak_cell) \ |
207 V(SET_ITERATOR_MAP_INDEX, Map, set_iterator_map) \ | 208 V(SET_ITERATOR_MAP_INDEX, Map, set_iterator_map) \ |
208 V(SHARED_ARRAY_BUFFER_FUN_INDEX, JSFunction, shared_array_buffer_fun) \ | 209 V(SHARED_ARRAY_BUFFER_FUN_INDEX, JSFunction, shared_array_buffer_fun) \ |
209 V(SLOPPY_ARGUMENTS_MAP_INDEX, Map, sloppy_arguments_map) \ | 210 V(SLOPPY_ARGUMENTS_MAP_INDEX, Map, sloppy_arguments_map) \ |
210 V(SLOPPY_FUNCTION_MAP_INDEX, Map, sloppy_function_map) \ | 211 V(SLOPPY_FUNCTION_MAP_INDEX, Map, sloppy_function_map) \ |
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
560 #endif | 561 #endif |
561 | 562 |
562 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); | 563 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); |
563 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); | 564 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); |
564 }; | 565 }; |
565 | 566 |
566 } // namespace internal | 567 } // namespace internal |
567 } // namespace v8 | 568 } // namespace v8 |
568 | 569 |
569 #endif // V8_CONTEXTS_H_ | 570 #endif // V8_CONTEXTS_H_ |
OLD | NEW |