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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 V(TO_NUMBER_FUN_INDEX, JSFunction, to_number_fun) \ | 116 V(TO_NUMBER_FUN_INDEX, JSFunction, to_number_fun) \ |
117 V(TO_STRING_FUN_INDEX, JSFunction, to_string_fun) \ | 117 V(TO_STRING_FUN_INDEX, JSFunction, to_string_fun) \ |
118 V(TO_DETAIL_STRING_FUN_INDEX, JSFunction, to_detail_string_fun) \ | 118 V(TO_DETAIL_STRING_FUN_INDEX, JSFunction, to_detail_string_fun) \ |
119 V(TO_OBJECT_FUN_INDEX, JSFunction, to_object_fun) \ | 119 V(TO_OBJECT_FUN_INDEX, JSFunction, to_object_fun) \ |
120 V(TO_INTEGER_FUN_INDEX, JSFunction, to_integer_fun) \ | 120 V(TO_INTEGER_FUN_INDEX, JSFunction, to_integer_fun) \ |
121 V(TO_UINT32_FUN_INDEX, JSFunction, to_uint32_fun) \ | 121 V(TO_UINT32_FUN_INDEX, JSFunction, to_uint32_fun) \ |
122 V(TO_INT32_FUN_INDEX, JSFunction, to_int32_fun) \ | 122 V(TO_INT32_FUN_INDEX, JSFunction, to_int32_fun) \ |
123 V(GLOBAL_EVAL_FUN_INDEX, JSFunction, global_eval_fun) \ | 123 V(GLOBAL_EVAL_FUN_INDEX, JSFunction, global_eval_fun) \ |
124 V(INSTANTIATE_FUN_INDEX, JSFunction, instantiate_fun) \ | 124 V(INSTANTIATE_FUN_INDEX, JSFunction, instantiate_fun) \ |
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(FUNCTION_MAP_INDEX, Map, function_map) \ | 127 V(FUNCTION_MAP_INDEX, Map, function_map) \ |
127 V(STRICT_MODE_FUNCTION_MAP_INDEX, Map, strict_mode_function_map) \ | 128 V(STRICT_MODE_FUNCTION_MAP_INDEX, Map, strict_mode_function_map) \ |
128 V(FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX, Map, function_without_prototype_map) \ | 129 V(FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX, Map, function_without_prototype_map) \ |
129 V(STRICT_MODE_FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX, Map, \ | 130 V(STRICT_MODE_FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX, Map, \ |
130 strict_mode_function_without_prototype_map) \ | 131 strict_mode_function_without_prototype_map) \ |
131 V(FUNCTION_INSTANCE_MAP_INDEX, Map, function_instance_map) \ | 132 V(FUNCTION_INSTANCE_MAP_INDEX, Map, function_instance_map) \ |
132 V(STRICT_MODE_FUNCTION_INSTANCE_MAP_INDEX, Map, \ | 133 V(STRICT_MODE_FUNCTION_INSTANCE_MAP_INDEX, Map, \ |
133 strict_mode_function_instance_map) \ | 134 strict_mode_function_instance_map) \ |
134 V(REGEXP_RESULT_MAP_INDEX, Map, regexp_result_map)\ | 135 V(REGEXP_RESULT_MAP_INDEX, Map, regexp_result_map)\ |
135 V(ARGUMENTS_BOILERPLATE_INDEX, JSObject, arguments_boilerplate) \ | 136 V(ARGUMENTS_BOILERPLATE_INDEX, JSObject, arguments_boilerplate) \ |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
269 TO_STRING_FUN_INDEX, | 270 TO_STRING_FUN_INDEX, |
270 TO_DETAIL_STRING_FUN_INDEX, | 271 TO_DETAIL_STRING_FUN_INDEX, |
271 TO_OBJECT_FUN_INDEX, | 272 TO_OBJECT_FUN_INDEX, |
272 TO_INTEGER_FUN_INDEX, | 273 TO_INTEGER_FUN_INDEX, |
273 TO_UINT32_FUN_INDEX, | 274 TO_UINT32_FUN_INDEX, |
274 TO_INT32_FUN_INDEX, | 275 TO_INT32_FUN_INDEX, |
275 TO_BOOLEAN_FUN_INDEX, | 276 TO_BOOLEAN_FUN_INDEX, |
276 GLOBAL_EVAL_FUN_INDEX, | 277 GLOBAL_EVAL_FUN_INDEX, |
277 INSTANTIATE_FUN_INDEX, | 278 INSTANTIATE_FUN_INDEX, |
278 CONFIGURE_INSTANCE_FUN_INDEX, | 279 CONFIGURE_INSTANCE_FUN_INDEX, |
| 280 ARRAY_BUFFER_FUN_INDEX, |
279 MESSAGE_LISTENERS_INDEX, | 281 MESSAGE_LISTENERS_INDEX, |
280 MAKE_MESSAGE_FUN_INDEX, | 282 MAKE_MESSAGE_FUN_INDEX, |
281 GET_STACK_TRACE_LINE_INDEX, | 283 GET_STACK_TRACE_LINE_INDEX, |
282 CONFIGURE_GLOBAL_INDEX, | 284 CONFIGURE_GLOBAL_INDEX, |
283 FUNCTION_CACHE_INDEX, | 285 FUNCTION_CACHE_INDEX, |
284 JSFUNCTION_RESULT_CACHES_INDEX, | 286 JSFUNCTION_RESULT_CACHES_INDEX, |
285 NORMALIZED_MAP_CACHE_INDEX, | 287 NORMALIZED_MAP_CACHE_INDEX, |
286 RUNTIME_CONTEXT_INDEX, | 288 RUNTIME_CONTEXT_INDEX, |
287 CALL_AS_FUNCTION_DELEGATE_INDEX, | 289 CALL_AS_FUNCTION_DELEGATE_INDEX, |
288 CALL_AS_CONSTRUCTOR_DELEGATE_INDEX, | 290 CALL_AS_CONSTRUCTOR_DELEGATE_INDEX, |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
478 static bool IsBootstrappingOrGlobalObject(Object* object); | 480 static bool IsBootstrappingOrGlobalObject(Object* object); |
479 #endif | 481 #endif |
480 | 482 |
481 STATIC_CHECK(kHeaderSize == Internals::kContextHeaderSize); | 483 STATIC_CHECK(kHeaderSize == Internals::kContextHeaderSize); |
482 STATIC_CHECK(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); | 484 STATIC_CHECK(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); |
483 }; | 485 }; |
484 | 486 |
485 } } // namespace v8::internal | 487 } } // namespace v8::internal |
486 | 488 |
487 #endif // V8_CONTEXTS_H_ | 489 #endif // V8_CONTEXTS_H_ |
OLD | NEW |