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

Side by Side Diff: src/contexts.h

Issue 6824081: Add a stub for allocating parameter maps. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/arguments/
Patch Set: '' Created 9 years, 7 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/codegen.cc ('k') | src/ia32/code-stubs-ia32.cc » ('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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 V(STRICT_MODE_FUNCTION_MAP_INDEX, Map, strict_mode_function_map) \ 81 V(STRICT_MODE_FUNCTION_MAP_INDEX, Map, strict_mode_function_map) \
82 V(FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX, Map, function_without_prototype_map) \ 82 V(FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX, Map, function_without_prototype_map) \
83 V(STRICT_MODE_FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX, Map, \ 83 V(STRICT_MODE_FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX, Map, \
84 strict_mode_function_without_prototype_map) \ 84 strict_mode_function_without_prototype_map) \
85 V(FUNCTION_INSTANCE_MAP_INDEX, Map, function_instance_map) \ 85 V(FUNCTION_INSTANCE_MAP_INDEX, Map, function_instance_map) \
86 V(STRICT_MODE_FUNCTION_INSTANCE_MAP_INDEX, Map, \ 86 V(STRICT_MODE_FUNCTION_INSTANCE_MAP_INDEX, Map, \
87 strict_mode_function_instance_map) \ 87 strict_mode_function_instance_map) \
88 V(JS_ARRAY_MAP_INDEX, Map, js_array_map)\ 88 V(JS_ARRAY_MAP_INDEX, Map, js_array_map)\
89 V(REGEXP_RESULT_MAP_INDEX, Map, regexp_result_map)\ 89 V(REGEXP_RESULT_MAP_INDEX, Map, regexp_result_map)\
90 V(ARGUMENTS_BOILERPLATE_INDEX, JSObject, arguments_boilerplate) \ 90 V(ARGUMENTS_BOILERPLATE_INDEX, JSObject, arguments_boilerplate) \
91 V(ALIASED_ARGUMENTS_BOILERPLATE_INDEX, JSObject, \
92 aliased_arguments_boilerplate) \
91 V(STRICT_MODE_ARGUMENTS_BOILERPLATE_INDEX, JSObject, \ 93 V(STRICT_MODE_ARGUMENTS_BOILERPLATE_INDEX, JSObject, \
92 strict_mode_arguments_boilerplate) \ 94 strict_mode_arguments_boilerplate) \
93 V(MESSAGE_LISTENERS_INDEX, JSObject, message_listeners) \ 95 V(MESSAGE_LISTENERS_INDEX, JSObject, message_listeners) \
94 V(MAKE_MESSAGE_FUN_INDEX, JSFunction, make_message_fun) \ 96 V(MAKE_MESSAGE_FUN_INDEX, JSFunction, make_message_fun) \
95 V(GET_STACK_TRACE_LINE_INDEX, JSFunction, get_stack_trace_line_fun) \ 97 V(GET_STACK_TRACE_LINE_INDEX, JSFunction, get_stack_trace_line_fun) \
96 V(CONFIGURE_GLOBAL_INDEX, JSFunction, configure_global_fun) \ 98 V(CONFIGURE_GLOBAL_INDEX, JSFunction, configure_global_fun) \
97 V(FUNCTION_CACHE_INDEX, JSObject, function_cache) \ 99 V(FUNCTION_CACHE_INDEX, JSObject, function_cache) \
98 V(JSFUNCTION_RESULT_CACHES_INDEX, FixedArray, jsfunction_result_caches) \ 100 V(JSFUNCTION_RESULT_CACHES_INDEX, FixedArray, jsfunction_result_caches) \
99 V(NORMALIZED_MAP_CACHE_INDEX, NormalizedMapCache, normalized_map_cache) \ 101 V(NORMALIZED_MAP_CACHE_INDEX, NormalizedMapCache, normalized_map_cache) \
100 V(RUNTIME_CONTEXT_INDEX, Context, runtime_context) \ 102 V(RUNTIME_CONTEXT_INDEX, Context, runtime_context) \
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 FCONTEXT_INDEX, 184 FCONTEXT_INDEX,
183 PREVIOUS_INDEX, 185 PREVIOUS_INDEX,
184 EXTENSION_INDEX, 186 EXTENSION_INDEX,
185 GLOBAL_INDEX, 187 GLOBAL_INDEX,
186 MIN_CONTEXT_SLOTS, 188 MIN_CONTEXT_SLOTS,
187 189
188 // These slots are only in global contexts. 190 // These slots are only in global contexts.
189 GLOBAL_PROXY_INDEX = MIN_CONTEXT_SLOTS, 191 GLOBAL_PROXY_INDEX = MIN_CONTEXT_SLOTS,
190 SECURITY_TOKEN_INDEX, 192 SECURITY_TOKEN_INDEX,
191 ARGUMENTS_BOILERPLATE_INDEX, 193 ARGUMENTS_BOILERPLATE_INDEX,
194 ALIASED_ARGUMENTS_BOILERPLATE_INDEX,
192 STRICT_MODE_ARGUMENTS_BOILERPLATE_INDEX, 195 STRICT_MODE_ARGUMENTS_BOILERPLATE_INDEX,
193 JS_ARRAY_MAP_INDEX, 196 JS_ARRAY_MAP_INDEX,
194 REGEXP_RESULT_MAP_INDEX, 197 REGEXP_RESULT_MAP_INDEX,
195 FUNCTION_MAP_INDEX, 198 FUNCTION_MAP_INDEX,
196 STRICT_MODE_FUNCTION_MAP_INDEX, 199 STRICT_MODE_FUNCTION_MAP_INDEX,
197 FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX, 200 FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX,
198 STRICT_MODE_FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX, 201 STRICT_MODE_FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX,
199 FUNCTION_INSTANCE_MAP_INDEX, 202 FUNCTION_INSTANCE_MAP_INDEX,
200 STRICT_MODE_FUNCTION_INSTANCE_MAP_INDEX, 203 STRICT_MODE_FUNCTION_INSTANCE_MAP_INDEX,
201 INITIAL_OBJECT_PROTOTYPE_INDEX, 204 INITIAL_OBJECT_PROTOTYPE_INDEX,
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 #ifdef DEBUG 376 #ifdef DEBUG
374 // Bootstrapping-aware type checks. 377 // Bootstrapping-aware type checks.
375 static bool IsBootstrappingOrContext(Object* object); 378 static bool IsBootstrappingOrContext(Object* object);
376 static bool IsBootstrappingOrGlobalObject(Object* object); 379 static bool IsBootstrappingOrGlobalObject(Object* object);
377 #endif 380 #endif
378 }; 381 };
379 382
380 } } // namespace v8::internal 383 } } // namespace v8::internal
381 384
382 #endif // V8_CONTEXTS_H_ 385 #endif // V8_CONTEXTS_H_
OLDNEW
« no previous file with comments | « src/codegen.cc ('k') | src/ia32/code-stubs-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698