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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 V(CONFIGURE_INSTANCE_FUN_INDEX, JSFunction, configure_instance_fun) \ | 125 V(CONFIGURE_INSTANCE_FUN_INDEX, JSFunction, configure_instance_fun) \ |
126 V(ARRAY_BUFFER_FUN_INDEX, JSFunction, array_buffer_fun) \ | 126 V(ARRAY_BUFFER_FUN_INDEX, JSFunction, array_buffer_fun) \ |
127 V(UINT8_ARRAY_FUN_INDEX, JSFunction, uint8_array_fun) \ | 127 V(UINT8_ARRAY_FUN_INDEX, JSFunction, uint8_array_fun) \ |
128 V(INT8_ARRAY_FUN_INDEX, JSFunction, int8_array_fun) \ | 128 V(INT8_ARRAY_FUN_INDEX, JSFunction, int8_array_fun) \ |
129 V(UINT16_ARRAY_FUN_INDEX, JSFunction, uint16_array_fun) \ | 129 V(UINT16_ARRAY_FUN_INDEX, JSFunction, uint16_array_fun) \ |
130 V(INT16_ARRAY_FUN_INDEX, JSFunction, int16_array_fun) \ | 130 V(INT16_ARRAY_FUN_INDEX, JSFunction, int16_array_fun) \ |
131 V(UINT32_ARRAY_FUN_INDEX, JSFunction, uint32_array_fun) \ | 131 V(UINT32_ARRAY_FUN_INDEX, JSFunction, uint32_array_fun) \ |
132 V(INT32_ARRAY_FUN_INDEX, JSFunction, int32_array_fun) \ | 132 V(INT32_ARRAY_FUN_INDEX, JSFunction, int32_array_fun) \ |
133 V(FLOAT_ARRAY_FUN_INDEX, JSFunction, float_array_fun) \ | 133 V(FLOAT_ARRAY_FUN_INDEX, JSFunction, float_array_fun) \ |
134 V(DOUBLE_ARRAY_FUN_INDEX, JSFunction, double_array_fun) \ | 134 V(DOUBLE_ARRAY_FUN_INDEX, JSFunction, double_array_fun) \ |
| 135 V(UINT8C_ARRAY_FUN_INDEX, JSFunction, uint8c_array_fun) \ |
135 V(FUNCTION_MAP_INDEX, Map, function_map) \ | 136 V(FUNCTION_MAP_INDEX, Map, function_map) \ |
136 V(STRICT_MODE_FUNCTION_MAP_INDEX, Map, strict_mode_function_map) \ | 137 V(STRICT_MODE_FUNCTION_MAP_INDEX, Map, strict_mode_function_map) \ |
137 V(FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX, Map, function_without_prototype_map) \ | 138 V(FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX, Map, function_without_prototype_map) \ |
138 V(STRICT_MODE_FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX, Map, \ | 139 V(STRICT_MODE_FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX, Map, \ |
139 strict_mode_function_without_prototype_map) \ | 140 strict_mode_function_without_prototype_map) \ |
140 V(FUNCTION_INSTANCE_MAP_INDEX, Map, function_instance_map) \ | 141 V(FUNCTION_INSTANCE_MAP_INDEX, Map, function_instance_map) \ |
141 V(STRICT_MODE_FUNCTION_INSTANCE_MAP_INDEX, Map, \ | 142 V(STRICT_MODE_FUNCTION_INSTANCE_MAP_INDEX, Map, \ |
142 strict_mode_function_instance_map) \ | 143 strict_mode_function_instance_map) \ |
143 V(REGEXP_RESULT_MAP_INDEX, Map, regexp_result_map)\ | 144 V(REGEXP_RESULT_MAP_INDEX, Map, regexp_result_map)\ |
144 V(ARGUMENTS_BOILERPLATE_INDEX, JSObject, arguments_boilerplate) \ | 145 V(ARGUMENTS_BOILERPLATE_INDEX, JSObject, arguments_boilerplate) \ |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
287 CONFIGURE_INSTANCE_FUN_INDEX, | 288 CONFIGURE_INSTANCE_FUN_INDEX, |
288 ARRAY_BUFFER_FUN_INDEX, | 289 ARRAY_BUFFER_FUN_INDEX, |
289 UINT8_ARRAY_FUN_INDEX, | 290 UINT8_ARRAY_FUN_INDEX, |
290 INT8_ARRAY_FUN_INDEX, | 291 INT8_ARRAY_FUN_INDEX, |
291 UINT16_ARRAY_FUN_INDEX, | 292 UINT16_ARRAY_FUN_INDEX, |
292 INT16_ARRAY_FUN_INDEX, | 293 INT16_ARRAY_FUN_INDEX, |
293 UINT32_ARRAY_FUN_INDEX, | 294 UINT32_ARRAY_FUN_INDEX, |
294 INT32_ARRAY_FUN_INDEX, | 295 INT32_ARRAY_FUN_INDEX, |
295 FLOAT_ARRAY_FUN_INDEX, | 296 FLOAT_ARRAY_FUN_INDEX, |
296 DOUBLE_ARRAY_FUN_INDEX, | 297 DOUBLE_ARRAY_FUN_INDEX, |
| 298 UINT8C_ARRAY_FUN_INDEX, |
297 MESSAGE_LISTENERS_INDEX, | 299 MESSAGE_LISTENERS_INDEX, |
298 MAKE_MESSAGE_FUN_INDEX, | 300 MAKE_MESSAGE_FUN_INDEX, |
299 GET_STACK_TRACE_LINE_INDEX, | 301 GET_STACK_TRACE_LINE_INDEX, |
300 CONFIGURE_GLOBAL_INDEX, | 302 CONFIGURE_GLOBAL_INDEX, |
301 FUNCTION_CACHE_INDEX, | 303 FUNCTION_CACHE_INDEX, |
302 JSFUNCTION_RESULT_CACHES_INDEX, | 304 JSFUNCTION_RESULT_CACHES_INDEX, |
303 NORMALIZED_MAP_CACHE_INDEX, | 305 NORMALIZED_MAP_CACHE_INDEX, |
304 RUNTIME_CONTEXT_INDEX, | 306 RUNTIME_CONTEXT_INDEX, |
305 CALL_AS_FUNCTION_DELEGATE_INDEX, | 307 CALL_AS_FUNCTION_DELEGATE_INDEX, |
306 CALL_AS_CONSTRUCTOR_DELEGATE_INDEX, | 308 CALL_AS_CONSTRUCTOR_DELEGATE_INDEX, |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
496 static bool IsBootstrappingOrGlobalObject(Object* object); | 498 static bool IsBootstrappingOrGlobalObject(Object* object); |
497 #endif | 499 #endif |
498 | 500 |
499 STATIC_CHECK(kHeaderSize == Internals::kContextHeaderSize); | 501 STATIC_CHECK(kHeaderSize == Internals::kContextHeaderSize); |
500 STATIC_CHECK(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); | 502 STATIC_CHECK(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); |
501 }; | 503 }; |
502 | 504 |
503 } } // namespace v8::internal | 505 } } // namespace v8::internal |
504 | 506 |
505 #endif // V8_CONTEXTS_H_ | 507 #endif // V8_CONTEXTS_H_ |
OLD | NEW |