| OLD | NEW |
| 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 V(FUNCTION_MAP_INDEX, Map, function_map) \ | 76 V(FUNCTION_MAP_INDEX, Map, function_map) \ |
| 77 V(FUNCTION_INSTANCE_MAP_INDEX, Map, function_instance_map) \ | 77 V(FUNCTION_INSTANCE_MAP_INDEX, Map, function_instance_map) \ |
| 78 V(JS_ARRAY_MAP_INDEX, Map, js_array_map)\ | 78 V(JS_ARRAY_MAP_INDEX, Map, js_array_map)\ |
| 79 V(REGEXP_RESULT_MAP_INDEX, Map, regexp_result_map)\ | 79 V(REGEXP_RESULT_MAP_INDEX, Map, regexp_result_map)\ |
| 80 V(ARGUMENTS_BOILERPLATE_INDEX, JSObject, arguments_boilerplate) \ | 80 V(ARGUMENTS_BOILERPLATE_INDEX, JSObject, arguments_boilerplate) \ |
| 81 V(MESSAGE_LISTENERS_INDEX, JSObject, message_listeners) \ | 81 V(MESSAGE_LISTENERS_INDEX, JSObject, message_listeners) \ |
| 82 V(MAKE_MESSAGE_FUN_INDEX, JSFunction, make_message_fun) \ | 82 V(MAKE_MESSAGE_FUN_INDEX, JSFunction, make_message_fun) \ |
| 83 V(GET_STACK_TRACE_LINE_INDEX, JSFunction, get_stack_trace_line_fun) \ | 83 V(GET_STACK_TRACE_LINE_INDEX, JSFunction, get_stack_trace_line_fun) \ |
| 84 V(CONFIGURE_GLOBAL_INDEX, JSFunction, configure_global_fun) \ | 84 V(CONFIGURE_GLOBAL_INDEX, JSFunction, configure_global_fun) \ |
| 85 V(FUNCTION_CACHE_INDEX, JSObject, function_cache) \ | 85 V(FUNCTION_CACHE_INDEX, JSObject, function_cache) \ |
| 86 V(JSFUNCTION_RESULT_CACHES_INDEX, FixedArray, jsfunction_result_caches) \ |
| 86 V(RUNTIME_CONTEXT_INDEX, Context, runtime_context) \ | 87 V(RUNTIME_CONTEXT_INDEX, Context, runtime_context) \ |
| 87 V(CALL_AS_FUNCTION_DELEGATE_INDEX, JSFunction, call_as_function_delegate) \ | 88 V(CALL_AS_FUNCTION_DELEGATE_INDEX, JSFunction, call_as_function_delegate) \ |
| 88 V(CALL_AS_CONSTRUCTOR_DELEGATE_INDEX, JSFunction, \ | 89 V(CALL_AS_CONSTRUCTOR_DELEGATE_INDEX, JSFunction, \ |
| 89 call_as_constructor_delegate) \ | 90 call_as_constructor_delegate) \ |
| 90 V(SCRIPT_FUNCTION_INDEX, JSFunction, script_function) \ | 91 V(SCRIPT_FUNCTION_INDEX, JSFunction, script_function) \ |
| 91 V(OPAQUE_REFERENCE_FUNCTION_INDEX, JSFunction, opaque_reference_function) \ | 92 V(OPAQUE_REFERENCE_FUNCTION_INDEX, JSFunction, opaque_reference_function) \ |
| 92 V(CONTEXT_EXTENSION_FUNCTION_INDEX, JSFunction, context_extension_function) \ | 93 V(CONTEXT_EXTENSION_FUNCTION_INDEX, JSFunction, context_extension_function) \ |
| 93 V(OUT_OF_MEMORY_INDEX, Object, out_of_memory) \ | 94 V(OUT_OF_MEMORY_INDEX, Object, out_of_memory) \ |
| 94 V(MAP_CACHE_INDEX, Object, map_cache) \ | 95 V(MAP_CACHE_INDEX, Object, map_cache) \ |
| 95 V(CONTEXT_DATA_INDEX, Object, data) | 96 V(CONTEXT_DATA_INDEX, Object, data) |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 TO_INT32_FUN_INDEX, | 199 TO_INT32_FUN_INDEX, |
| 199 TO_BOOLEAN_FUN_INDEX, | 200 TO_BOOLEAN_FUN_INDEX, |
| 200 GLOBAL_EVAL_FUN_INDEX, | 201 GLOBAL_EVAL_FUN_INDEX, |
| 201 INSTANTIATE_FUN_INDEX, | 202 INSTANTIATE_FUN_INDEX, |
| 202 CONFIGURE_INSTANCE_FUN_INDEX, | 203 CONFIGURE_INSTANCE_FUN_INDEX, |
| 203 MESSAGE_LISTENERS_INDEX, | 204 MESSAGE_LISTENERS_INDEX, |
| 204 MAKE_MESSAGE_FUN_INDEX, | 205 MAKE_MESSAGE_FUN_INDEX, |
| 205 GET_STACK_TRACE_LINE_INDEX, | 206 GET_STACK_TRACE_LINE_INDEX, |
| 206 CONFIGURE_GLOBAL_INDEX, | 207 CONFIGURE_GLOBAL_INDEX, |
| 207 FUNCTION_CACHE_INDEX, | 208 FUNCTION_CACHE_INDEX, |
| 209 JSFUNCTION_RESULT_CACHES_INDEX, |
| 208 RUNTIME_CONTEXT_INDEX, | 210 RUNTIME_CONTEXT_INDEX, |
| 209 CALL_AS_FUNCTION_DELEGATE_INDEX, | 211 CALL_AS_FUNCTION_DELEGATE_INDEX, |
| 210 CALL_AS_CONSTRUCTOR_DELEGATE_INDEX, | 212 CALL_AS_CONSTRUCTOR_DELEGATE_INDEX, |
| 211 SCRIPT_FUNCTION_INDEX, | 213 SCRIPT_FUNCTION_INDEX, |
| 212 OPAQUE_REFERENCE_FUNCTION_INDEX, | 214 OPAQUE_REFERENCE_FUNCTION_INDEX, |
| 213 CONTEXT_EXTENSION_FUNCTION_INDEX, | 215 CONTEXT_EXTENSION_FUNCTION_INDEX, |
| 214 OUT_OF_MEMORY_INDEX, | 216 OUT_OF_MEMORY_INDEX, |
| 215 MAP_CACHE_INDEX, | 217 MAP_CACHE_INDEX, |
| 216 CONTEXT_DATA_INDEX, | 218 CONTEXT_DATA_INDEX, |
| 217 GLOBAL_CONTEXT_SLOTS | 219 GLOBAL_CONTEXT_SLOTS |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 329 #ifdef DEBUG | 331 #ifdef DEBUG |
| 330 // Bootstrapping-aware type checks. | 332 // Bootstrapping-aware type checks. |
| 331 static bool IsBootstrappingOrContext(Object* object); | 333 static bool IsBootstrappingOrContext(Object* object); |
| 332 static bool IsBootstrappingOrGlobalObject(Object* object); | 334 static bool IsBootstrappingOrGlobalObject(Object* object); |
| 333 #endif | 335 #endif |
| 334 }; | 336 }; |
| 335 | 337 |
| 336 } } // namespace v8::internal | 338 } } // namespace v8::internal |
| 337 | 339 |
| 338 #endif // V8_CONTEXTS_H_ | 340 #endif // V8_CONTEXTS_H_ |
| OLD | NEW |