Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(411)

Side by Side Diff: src/contexts.h

Issue 3087001: Revert r5147 due to failing assert, with no simple solution. Issue 808. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/bootstrapper.cc ('k') | src/heap.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 V(FUNCTION_INSTANCE_MAP_INDEX, Map, function_instance_map) \ 78 V(FUNCTION_INSTANCE_MAP_INDEX, Map, function_instance_map) \
79 V(JS_ARRAY_MAP_INDEX, Map, js_array_map)\ 79 V(JS_ARRAY_MAP_INDEX, Map, js_array_map)\
80 V(REGEXP_RESULT_MAP_INDEX, Map, regexp_result_map)\ 80 V(REGEXP_RESULT_MAP_INDEX, Map, regexp_result_map)\
81 V(ARGUMENTS_BOILERPLATE_INDEX, JSObject, arguments_boilerplate) \ 81 V(ARGUMENTS_BOILERPLATE_INDEX, JSObject, arguments_boilerplate) \
82 V(MESSAGE_LISTENERS_INDEX, JSObject, message_listeners) \ 82 V(MESSAGE_LISTENERS_INDEX, JSObject, message_listeners) \
83 V(MAKE_MESSAGE_FUN_INDEX, JSFunction, make_message_fun) \ 83 V(MAKE_MESSAGE_FUN_INDEX, JSFunction, make_message_fun) \
84 V(GET_STACK_TRACE_LINE_INDEX, JSFunction, get_stack_trace_line_fun) \ 84 V(GET_STACK_TRACE_LINE_INDEX, JSFunction, get_stack_trace_line_fun) \
85 V(CONFIGURE_GLOBAL_INDEX, JSFunction, configure_global_fun) \ 85 V(CONFIGURE_GLOBAL_INDEX, JSFunction, configure_global_fun) \
86 V(FUNCTION_CACHE_INDEX, JSObject, function_cache) \ 86 V(FUNCTION_CACHE_INDEX, JSObject, function_cache) \
87 V(JSFUNCTION_RESULT_CACHES_INDEX, FixedArray, jsfunction_result_caches) \ 87 V(JSFUNCTION_RESULT_CACHES_INDEX, FixedArray, jsfunction_result_caches) \
88 V(NORMALIZED_MAP_CACHE_INDEX, NormalizedMapCache, normalized_map_cache) \
89 V(RUNTIME_CONTEXT_INDEX, Context, runtime_context) \ 88 V(RUNTIME_CONTEXT_INDEX, Context, runtime_context) \
90 V(CALL_AS_FUNCTION_DELEGATE_INDEX, JSFunction, call_as_function_delegate) \ 89 V(CALL_AS_FUNCTION_DELEGATE_INDEX, JSFunction, call_as_function_delegate) \
91 V(CALL_AS_CONSTRUCTOR_DELEGATE_INDEX, JSFunction, \ 90 V(CALL_AS_CONSTRUCTOR_DELEGATE_INDEX, JSFunction, \
92 call_as_constructor_delegate) \ 91 call_as_constructor_delegate) \
93 V(SCRIPT_FUNCTION_INDEX, JSFunction, script_function) \ 92 V(SCRIPT_FUNCTION_INDEX, JSFunction, script_function) \
94 V(OPAQUE_REFERENCE_FUNCTION_INDEX, JSFunction, opaque_reference_function) \ 93 V(OPAQUE_REFERENCE_FUNCTION_INDEX, JSFunction, opaque_reference_function) \
95 V(CONTEXT_EXTENSION_FUNCTION_INDEX, JSFunction, context_extension_function) \ 94 V(CONTEXT_EXTENSION_FUNCTION_INDEX, JSFunction, context_extension_function) \
96 V(OUT_OF_MEMORY_INDEX, Object, out_of_memory) \ 95 V(OUT_OF_MEMORY_INDEX, Object, out_of_memory) \
97 V(MAP_CACHE_INDEX, Object, map_cache) \ 96 V(MAP_CACHE_INDEX, Object, map_cache) \
98 V(CONTEXT_DATA_INDEX, Object, data) 97 V(CONTEXT_DATA_INDEX, Object, data)
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 TO_BOOLEAN_FUN_INDEX, 202 TO_BOOLEAN_FUN_INDEX,
204 GLOBAL_EVAL_FUN_INDEX, 203 GLOBAL_EVAL_FUN_INDEX,
205 INSTANTIATE_FUN_INDEX, 204 INSTANTIATE_FUN_INDEX,
206 CONFIGURE_INSTANCE_FUN_INDEX, 205 CONFIGURE_INSTANCE_FUN_INDEX,
207 MESSAGE_LISTENERS_INDEX, 206 MESSAGE_LISTENERS_INDEX,
208 MAKE_MESSAGE_FUN_INDEX, 207 MAKE_MESSAGE_FUN_INDEX,
209 GET_STACK_TRACE_LINE_INDEX, 208 GET_STACK_TRACE_LINE_INDEX,
210 CONFIGURE_GLOBAL_INDEX, 209 CONFIGURE_GLOBAL_INDEX,
211 FUNCTION_CACHE_INDEX, 210 FUNCTION_CACHE_INDEX,
212 JSFUNCTION_RESULT_CACHES_INDEX, 211 JSFUNCTION_RESULT_CACHES_INDEX,
213 NORMALIZED_MAP_CACHE_INDEX,
214 RUNTIME_CONTEXT_INDEX, 212 RUNTIME_CONTEXT_INDEX,
215 CALL_AS_FUNCTION_DELEGATE_INDEX, 213 CALL_AS_FUNCTION_DELEGATE_INDEX,
216 CALL_AS_CONSTRUCTOR_DELEGATE_INDEX, 214 CALL_AS_CONSTRUCTOR_DELEGATE_INDEX,
217 SCRIPT_FUNCTION_INDEX, 215 SCRIPT_FUNCTION_INDEX,
218 OPAQUE_REFERENCE_FUNCTION_INDEX, 216 OPAQUE_REFERENCE_FUNCTION_INDEX,
219 CONTEXT_EXTENSION_FUNCTION_INDEX, 217 CONTEXT_EXTENSION_FUNCTION_INDEX,
220 OUT_OF_MEMORY_INDEX, 218 OUT_OF_MEMORY_INDEX,
221 MAP_CACHE_INDEX, 219 MAP_CACHE_INDEX,
222 CONTEXT_DATA_INDEX, 220 CONTEXT_DATA_INDEX,
223 GLOBAL_CONTEXT_SLOTS 221 GLOBAL_CONTEXT_SLOTS
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 #ifdef DEBUG 333 #ifdef DEBUG
336 // Bootstrapping-aware type checks. 334 // Bootstrapping-aware type checks.
337 static bool IsBootstrappingOrContext(Object* object); 335 static bool IsBootstrappingOrContext(Object* object);
338 static bool IsBootstrappingOrGlobalObject(Object* object); 336 static bool IsBootstrappingOrGlobalObject(Object* object);
339 #endif 337 #endif
340 }; 338 };
341 339
342 } } // namespace v8::internal 340 } } // namespace v8::internal
343 341
344 #endif // V8_CONTEXTS_H_ 342 #endif // V8_CONTEXTS_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698