OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 V(GLOBAL_EVAL_FUN_INDEX, JSFunction, global_eval_fun) \ | 124 V(GLOBAL_EVAL_FUN_INDEX, JSFunction, global_eval_fun) \ |
125 V(INSTANTIATE_FUN_INDEX, JSFunction, instantiate_fun) \ | 125 V(INSTANTIATE_FUN_INDEX, JSFunction, instantiate_fun) \ |
126 V(CONFIGURE_INSTANCE_FUN_INDEX, JSFunction, configure_instance_fun) \ | 126 V(CONFIGURE_INSTANCE_FUN_INDEX, JSFunction, configure_instance_fun) \ |
127 V(ARRAY_BUFFER_FUN_INDEX, JSFunction, array_buffer_fun) \ | 127 V(ARRAY_BUFFER_FUN_INDEX, JSFunction, array_buffer_fun) \ |
128 V(UINT8_ARRAY_FUN_INDEX, JSFunction, uint8_array_fun) \ | 128 V(UINT8_ARRAY_FUN_INDEX, JSFunction, uint8_array_fun) \ |
129 V(INT8_ARRAY_FUN_INDEX, JSFunction, int8_array_fun) \ | 129 V(INT8_ARRAY_FUN_INDEX, JSFunction, int8_array_fun) \ |
130 V(UINT16_ARRAY_FUN_INDEX, JSFunction, uint16_array_fun) \ | 130 V(UINT16_ARRAY_FUN_INDEX, JSFunction, uint16_array_fun) \ |
131 V(INT16_ARRAY_FUN_INDEX, JSFunction, int16_array_fun) \ | 131 V(INT16_ARRAY_FUN_INDEX, JSFunction, int16_array_fun) \ |
132 V(UINT32_ARRAY_FUN_INDEX, JSFunction, uint32_array_fun) \ | 132 V(UINT32_ARRAY_FUN_INDEX, JSFunction, uint32_array_fun) \ |
133 V(INT32_ARRAY_FUN_INDEX, JSFunction, int32_array_fun) \ | 133 V(INT32_ARRAY_FUN_INDEX, JSFunction, int32_array_fun) \ |
134 V(FLOAT_ARRAY_FUN_INDEX, JSFunction, float_array_fun) \ | 134 V(FLOAT32_ARRAY_FUN_INDEX, JSFunction, float32_array_fun) \ |
135 V(DOUBLE_ARRAY_FUN_INDEX, JSFunction, double_array_fun) \ | 135 V(FLOAT64_ARRAY_FUN_INDEX, JSFunction, float64_array_fun) \ |
136 V(UINT8C_ARRAY_FUN_INDEX, JSFunction, uint8c_array_fun) \ | 136 V(UINT8_CLAMPED_ARRAY_FUN_INDEX, JSFunction, uint8_clamped_array_fun) \ |
137 V(DATA_VIEW_FUN_INDEX, JSFunction, data_view_fun) \ | 137 V(DATA_VIEW_FUN_INDEX, JSFunction, data_view_fun) \ |
138 V(FUNCTION_MAP_INDEX, Map, function_map) \ | 138 V(FUNCTION_MAP_INDEX, Map, function_map) \ |
139 V(STRICT_MODE_FUNCTION_MAP_INDEX, Map, strict_mode_function_map) \ | 139 V(STRICT_MODE_FUNCTION_MAP_INDEX, Map, strict_mode_function_map) \ |
140 V(FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX, Map, function_without_prototype_map) \ | 140 V(FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX, Map, function_without_prototype_map) \ |
141 V(STRICT_MODE_FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX, Map, \ | 141 V(STRICT_MODE_FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX, Map, \ |
142 strict_mode_function_without_prototype_map) \ | 142 strict_mode_function_without_prototype_map) \ |
143 V(REGEXP_RESULT_MAP_INDEX, Map, regexp_result_map)\ | 143 V(REGEXP_RESULT_MAP_INDEX, Map, regexp_result_map)\ |
144 V(ARGUMENTS_BOILERPLATE_INDEX, JSObject, arguments_boilerplate) \ | 144 V(ARGUMENTS_BOILERPLATE_INDEX, JSObject, arguments_boilerplate) \ |
145 V(ALIASED_ARGUMENTS_BOILERPLATE_INDEX, JSObject, \ | 145 V(ALIASED_ARGUMENTS_BOILERPLATE_INDEX, JSObject, \ |
146 aliased_arguments_boilerplate) \ | 146 aliased_arguments_boilerplate) \ |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 GLOBAL_EVAL_FUN_INDEX, | 289 GLOBAL_EVAL_FUN_INDEX, |
290 INSTANTIATE_FUN_INDEX, | 290 INSTANTIATE_FUN_INDEX, |
291 CONFIGURE_INSTANCE_FUN_INDEX, | 291 CONFIGURE_INSTANCE_FUN_INDEX, |
292 ARRAY_BUFFER_FUN_INDEX, | 292 ARRAY_BUFFER_FUN_INDEX, |
293 UINT8_ARRAY_FUN_INDEX, | 293 UINT8_ARRAY_FUN_INDEX, |
294 INT8_ARRAY_FUN_INDEX, | 294 INT8_ARRAY_FUN_INDEX, |
295 UINT16_ARRAY_FUN_INDEX, | 295 UINT16_ARRAY_FUN_INDEX, |
296 INT16_ARRAY_FUN_INDEX, | 296 INT16_ARRAY_FUN_INDEX, |
297 UINT32_ARRAY_FUN_INDEX, | 297 UINT32_ARRAY_FUN_INDEX, |
298 INT32_ARRAY_FUN_INDEX, | 298 INT32_ARRAY_FUN_INDEX, |
299 FLOAT_ARRAY_FUN_INDEX, | 299 FLOAT32_ARRAY_FUN_INDEX, |
300 DOUBLE_ARRAY_FUN_INDEX, | 300 FLOAT64_ARRAY_FUN_INDEX, |
301 UINT8C_ARRAY_FUN_INDEX, | 301 UINT8_CLAMPED_ARRAY_FUN_INDEX, |
302 DATA_VIEW_FUN_INDEX, | 302 DATA_VIEW_FUN_INDEX, |
303 MESSAGE_LISTENERS_INDEX, | 303 MESSAGE_LISTENERS_INDEX, |
304 MAKE_MESSAGE_FUN_INDEX, | 304 MAKE_MESSAGE_FUN_INDEX, |
305 GET_STACK_TRACE_LINE_INDEX, | 305 GET_STACK_TRACE_LINE_INDEX, |
306 CONFIGURE_GLOBAL_INDEX, | 306 CONFIGURE_GLOBAL_INDEX, |
307 FUNCTION_CACHE_INDEX, | 307 FUNCTION_CACHE_INDEX, |
308 JSFUNCTION_RESULT_CACHES_INDEX, | 308 JSFUNCTION_RESULT_CACHES_INDEX, |
309 NORMALIZED_MAP_CACHE_INDEX, | 309 NORMALIZED_MAP_CACHE_INDEX, |
310 RUNTIME_CONTEXT_INDEX, | 310 RUNTIME_CONTEXT_INDEX, |
311 CALL_AS_FUNCTION_DELEGATE_INDEX, | 311 CALL_AS_FUNCTION_DELEGATE_INDEX, |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
519 static bool IsBootstrappingOrGlobalObject(Isolate* isolate, Object* object); | 519 static bool IsBootstrappingOrGlobalObject(Isolate* isolate, Object* object); |
520 #endif | 520 #endif |
521 | 521 |
522 STATIC_CHECK(kHeaderSize == Internals::kContextHeaderSize); | 522 STATIC_CHECK(kHeaderSize == Internals::kContextHeaderSize); |
523 STATIC_CHECK(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); | 523 STATIC_CHECK(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); |
524 }; | 524 }; |
525 | 525 |
526 } } // namespace v8::internal | 526 } } // namespace v8::internal |
527 | 527 |
528 #endif // V8_CONTEXTS_H_ | 528 #endif // V8_CONTEXTS_H_ |
OLD | NEW |