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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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(FLOAT32_ARRAY_FUN_INDEX, JSFunction, float32_array_fun) \ | 134 V(FLOAT32_ARRAY_FUN_INDEX, JSFunction, float32_array_fun) \ |
135 V(FLOAT64_ARRAY_FUN_INDEX, JSFunction, float64_array_fun) \ | 135 V(FLOAT64_ARRAY_FUN_INDEX, JSFunction, float64_array_fun) \ |
136 V(UINT8_CLAMPED_ARRAY_FUN_INDEX, JSFunction, uint8_clamped_array_fun) \ | 136 V(UINT8_CLAMPED_ARRAY_FUN_INDEX, JSFunction, uint8_clamped_array_fun) \ |
| 137 V(INT8_ARRAY_EXTERNAL_MAP_INDEX, Map, int8_array_external_map) \ |
| 138 V(UINT8_ARRAY_EXTERNAL_MAP_INDEX, Map, uint8_array_external_map) \ |
| 139 V(INT16_ARRAY_EXTERNAL_MAP_INDEX, Map, int16_array_external_map) \ |
| 140 V(UINT16_ARRAY_EXTERNAL_MAP_INDEX, Map, uint16_array_external_map) \ |
| 141 V(INT32_ARRAY_EXTERNAL_MAP_INDEX, Map, int32_array_external_map) \ |
| 142 V(UINT32_ARRAY_EXTERNAL_MAP_INDEX, Map, uint32_array_external_map) \ |
| 143 V(FLOAT32_ARRAY_EXTERNAL_MAP_INDEX, Map, float32_array_external_map) \ |
| 144 V(FLOAT64_ARRAY_EXTERNAL_MAP_INDEX, Map, float64_array_external_map) \ |
| 145 V(UINT8_CLAMPED_ARRAY_EXTERNAL_MAP_INDEX, Map, \ |
| 146 uint8_clamped_array_external_map) \ |
137 V(DATA_VIEW_FUN_INDEX, JSFunction, data_view_fun) \ | 147 V(DATA_VIEW_FUN_INDEX, JSFunction, data_view_fun) \ |
138 V(SLOPPY_FUNCTION_MAP_INDEX, Map, sloppy_function_map) \ | 148 V(SLOPPY_FUNCTION_MAP_INDEX, Map, sloppy_function_map) \ |
139 V(STRICT_FUNCTION_MAP_INDEX, Map, strict_function_map) \ | 149 V(STRICT_FUNCTION_MAP_INDEX, Map, strict_function_map) \ |
140 V(SLOPPY_FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX, Map, \ | 150 V(SLOPPY_FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX, Map, \ |
141 sloppy_function_without_prototype_map) \ | 151 sloppy_function_without_prototype_map) \ |
142 V(STRICT_FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX, Map, \ | 152 V(STRICT_FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX, Map, \ |
143 strict_function_without_prototype_map) \ | 153 strict_function_without_prototype_map) \ |
144 V(REGEXP_RESULT_MAP_INDEX, Map, regexp_result_map)\ | 154 V(REGEXP_RESULT_MAP_INDEX, Map, regexp_result_map)\ |
145 V(SLOPPY_ARGUMENTS_BOILERPLATE_INDEX, JSObject, \ | 155 V(SLOPPY_ARGUMENTS_BOILERPLATE_INDEX, JSObject, \ |
146 sloppy_arguments_boilerplate) \ | 156 sloppy_arguments_boilerplate) \ |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 ARRAY_BUFFER_FUN_INDEX, | 314 ARRAY_BUFFER_FUN_INDEX, |
305 UINT8_ARRAY_FUN_INDEX, | 315 UINT8_ARRAY_FUN_INDEX, |
306 INT8_ARRAY_FUN_INDEX, | 316 INT8_ARRAY_FUN_INDEX, |
307 UINT16_ARRAY_FUN_INDEX, | 317 UINT16_ARRAY_FUN_INDEX, |
308 INT16_ARRAY_FUN_INDEX, | 318 INT16_ARRAY_FUN_INDEX, |
309 UINT32_ARRAY_FUN_INDEX, | 319 UINT32_ARRAY_FUN_INDEX, |
310 INT32_ARRAY_FUN_INDEX, | 320 INT32_ARRAY_FUN_INDEX, |
311 FLOAT32_ARRAY_FUN_INDEX, | 321 FLOAT32_ARRAY_FUN_INDEX, |
312 FLOAT64_ARRAY_FUN_INDEX, | 322 FLOAT64_ARRAY_FUN_INDEX, |
313 UINT8_CLAMPED_ARRAY_FUN_INDEX, | 323 UINT8_CLAMPED_ARRAY_FUN_INDEX, |
| 324 INT8_ARRAY_EXTERNAL_MAP_INDEX, |
| 325 UINT8_ARRAY_EXTERNAL_MAP_INDEX, |
| 326 INT16_ARRAY_EXTERNAL_MAP_INDEX, |
| 327 UINT16_ARRAY_EXTERNAL_MAP_INDEX, |
| 328 INT32_ARRAY_EXTERNAL_MAP_INDEX, |
| 329 UINT32_ARRAY_EXTERNAL_MAP_INDEX, |
| 330 FLOAT32_ARRAY_EXTERNAL_MAP_INDEX, |
| 331 FLOAT64_ARRAY_EXTERNAL_MAP_INDEX, |
| 332 UINT8_CLAMPED_ARRAY_EXTERNAL_MAP_INDEX, |
314 DATA_VIEW_FUN_INDEX, | 333 DATA_VIEW_FUN_INDEX, |
315 MESSAGE_LISTENERS_INDEX, | 334 MESSAGE_LISTENERS_INDEX, |
316 MAKE_MESSAGE_FUN_INDEX, | 335 MAKE_MESSAGE_FUN_INDEX, |
317 GET_STACK_TRACE_LINE_INDEX, | 336 GET_STACK_TRACE_LINE_INDEX, |
318 CONFIGURE_GLOBAL_INDEX, | 337 CONFIGURE_GLOBAL_INDEX, |
319 FUNCTION_CACHE_INDEX, | 338 FUNCTION_CACHE_INDEX, |
320 JSFUNCTION_RESULT_CACHES_INDEX, | 339 JSFUNCTION_RESULT_CACHES_INDEX, |
321 NORMALIZED_MAP_CACHE_INDEX, | 340 NORMALIZED_MAP_CACHE_INDEX, |
322 RUNTIME_CONTEXT_INDEX, | 341 RUNTIME_CONTEXT_INDEX, |
323 CALL_AS_FUNCTION_DELEGATE_INDEX, | 342 CALL_AS_FUNCTION_DELEGATE_INDEX, |
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
534 static bool IsBootstrappingOrGlobalObject(Isolate* isolate, Object* object); | 553 static bool IsBootstrappingOrGlobalObject(Isolate* isolate, Object* object); |
535 #endif | 554 #endif |
536 | 555 |
537 STATIC_CHECK(kHeaderSize == Internals::kContextHeaderSize); | 556 STATIC_CHECK(kHeaderSize == Internals::kContextHeaderSize); |
538 STATIC_CHECK(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); | 557 STATIC_CHECK(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); |
539 }; | 558 }; |
540 | 559 |
541 } } // namespace v8::internal | 560 } } // namespace v8::internal |
542 | 561 |
543 #endif // V8_CONTEXTS_H_ | 562 #endif // V8_CONTEXTS_H_ |
OLD | NEW |