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

Side by Side Diff: src/contexts.h

Issue 6711027: [Isolates] Merge 7201:7258 from bleeding_edge to isolates. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/isolates/
Patch Set: Created 9 years, 9 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
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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 V(TO_STRING_FUN_INDEX, JSFunction, to_string_fun) \ 71 V(TO_STRING_FUN_INDEX, JSFunction, to_string_fun) \
72 V(TO_DETAIL_STRING_FUN_INDEX, JSFunction, to_detail_string_fun) \ 72 V(TO_DETAIL_STRING_FUN_INDEX, JSFunction, to_detail_string_fun) \
73 V(TO_OBJECT_FUN_INDEX, JSFunction, to_object_fun) \ 73 V(TO_OBJECT_FUN_INDEX, JSFunction, to_object_fun) \
74 V(TO_INTEGER_FUN_INDEX, JSFunction, to_integer_fun) \ 74 V(TO_INTEGER_FUN_INDEX, JSFunction, to_integer_fun) \
75 V(TO_UINT32_FUN_INDEX, JSFunction, to_uint32_fun) \ 75 V(TO_UINT32_FUN_INDEX, JSFunction, to_uint32_fun) \
76 V(TO_INT32_FUN_INDEX, JSFunction, to_int32_fun) \ 76 V(TO_INT32_FUN_INDEX, JSFunction, to_int32_fun) \
77 V(GLOBAL_EVAL_FUN_INDEX, JSFunction, global_eval_fun) \ 77 V(GLOBAL_EVAL_FUN_INDEX, JSFunction, global_eval_fun) \
78 V(INSTANTIATE_FUN_INDEX, JSFunction, instantiate_fun) \ 78 V(INSTANTIATE_FUN_INDEX, JSFunction, instantiate_fun) \
79 V(CONFIGURE_INSTANCE_FUN_INDEX, JSFunction, configure_instance_fun) \ 79 V(CONFIGURE_INSTANCE_FUN_INDEX, JSFunction, configure_instance_fun) \
80 V(FUNCTION_MAP_INDEX, Map, function_map) \ 80 V(FUNCTION_MAP_INDEX, Map, function_map) \
81 V(STRICT_MODE_FUNCTION_MAP_INDEX, Map, strict_mode_function_map) \
81 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, \
84 strict_mode_function_without_prototype_map) \
82 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, \
87 strict_mode_function_instance_map) \
83 V(JS_ARRAY_MAP_INDEX, Map, js_array_map)\ 88 V(JS_ARRAY_MAP_INDEX, Map, js_array_map)\
84 V(REGEXP_RESULT_MAP_INDEX, Map, regexp_result_map)\ 89 V(REGEXP_RESULT_MAP_INDEX, Map, regexp_result_map)\
85 V(ARGUMENTS_BOILERPLATE_INDEX, JSObject, arguments_boilerplate) \ 90 V(ARGUMENTS_BOILERPLATE_INDEX, JSObject, arguments_boilerplate) \
91 V(STRICT_MODE_ARGUMENTS_BOILERPLATE_INDEX, JSObject, \
92 strict_mode_arguments_boilerplate) \
86 V(MESSAGE_LISTENERS_INDEX, JSObject, message_listeners) \ 93 V(MESSAGE_LISTENERS_INDEX, JSObject, message_listeners) \
87 V(MAKE_MESSAGE_FUN_INDEX, JSFunction, make_message_fun) \ 94 V(MAKE_MESSAGE_FUN_INDEX, JSFunction, make_message_fun) \
88 V(GET_STACK_TRACE_LINE_INDEX, JSFunction, get_stack_trace_line_fun) \ 95 V(GET_STACK_TRACE_LINE_INDEX, JSFunction, get_stack_trace_line_fun) \
89 V(CONFIGURE_GLOBAL_INDEX, JSFunction, configure_global_fun) \ 96 V(CONFIGURE_GLOBAL_INDEX, JSFunction, configure_global_fun) \
90 V(FUNCTION_CACHE_INDEX, JSObject, function_cache) \ 97 V(FUNCTION_CACHE_INDEX, JSObject, function_cache) \
91 V(JSFUNCTION_RESULT_CACHES_INDEX, FixedArray, jsfunction_result_caches) \ 98 V(JSFUNCTION_RESULT_CACHES_INDEX, FixedArray, jsfunction_result_caches) \
92 V(NORMALIZED_MAP_CACHE_INDEX, NormalizedMapCache, normalized_map_cache) \ 99 V(NORMALIZED_MAP_CACHE_INDEX, NormalizedMapCache, normalized_map_cache) \
93 V(RUNTIME_CONTEXT_INDEX, Context, runtime_context) \ 100 V(RUNTIME_CONTEXT_INDEX, Context, runtime_context) \
94 V(CALL_AS_FUNCTION_DELEGATE_INDEX, JSFunction, call_as_function_delegate) \ 101 V(CALL_AS_FUNCTION_DELEGATE_INDEX, JSFunction, call_as_function_delegate) \
95 V(CALL_AS_CONSTRUCTOR_DELEGATE_INDEX, JSFunction, \ 102 V(CALL_AS_CONSTRUCTOR_DELEGATE_INDEX, JSFunction, \
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 FCONTEXT_INDEX, 182 FCONTEXT_INDEX,
176 PREVIOUS_INDEX, 183 PREVIOUS_INDEX,
177 EXTENSION_INDEX, 184 EXTENSION_INDEX,
178 GLOBAL_INDEX, 185 GLOBAL_INDEX,
179 MIN_CONTEXT_SLOTS, 186 MIN_CONTEXT_SLOTS,
180 187
181 // These slots are only in global contexts. 188 // These slots are only in global contexts.
182 GLOBAL_PROXY_INDEX = MIN_CONTEXT_SLOTS, 189 GLOBAL_PROXY_INDEX = MIN_CONTEXT_SLOTS,
183 SECURITY_TOKEN_INDEX, 190 SECURITY_TOKEN_INDEX,
184 ARGUMENTS_BOILERPLATE_INDEX, 191 ARGUMENTS_BOILERPLATE_INDEX,
192 STRICT_MODE_ARGUMENTS_BOILERPLATE_INDEX,
185 JS_ARRAY_MAP_INDEX, 193 JS_ARRAY_MAP_INDEX,
186 REGEXP_RESULT_MAP_INDEX, 194 REGEXP_RESULT_MAP_INDEX,
187 FUNCTION_MAP_INDEX, 195 FUNCTION_MAP_INDEX,
196 STRICT_MODE_FUNCTION_MAP_INDEX,
188 FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX, 197 FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX,
198 STRICT_MODE_FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX,
189 FUNCTION_INSTANCE_MAP_INDEX, 199 FUNCTION_INSTANCE_MAP_INDEX,
200 STRICT_MODE_FUNCTION_INSTANCE_MAP_INDEX,
190 INITIAL_OBJECT_PROTOTYPE_INDEX, 201 INITIAL_OBJECT_PROTOTYPE_INDEX,
191 BOOLEAN_FUNCTION_INDEX, 202 BOOLEAN_FUNCTION_INDEX,
192 NUMBER_FUNCTION_INDEX, 203 NUMBER_FUNCTION_INDEX,
193 STRING_FUNCTION_INDEX, 204 STRING_FUNCTION_INDEX,
194 STRING_FUNCTION_PROTOTYPE_MAP_INDEX, 205 STRING_FUNCTION_PROTOTYPE_MAP_INDEX,
195 OBJECT_FUNCTION_INDEX, 206 OBJECT_FUNCTION_INDEX,
196 ARRAY_FUNCTION_INDEX, 207 ARRAY_FUNCTION_INDEX,
197 DATE_FUNCTION_INDEX, 208 DATE_FUNCTION_INDEX,
198 JSON_OBJECT_INDEX, 209 JSON_OBJECT_INDEX,
199 REGEXP_FUNCTION_INDEX, 210 REGEXP_FUNCTION_INDEX,
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 #ifdef DEBUG 373 #ifdef DEBUG
363 // Bootstrapping-aware type checks. 374 // Bootstrapping-aware type checks.
364 static bool IsBootstrappingOrContext(Object* object); 375 static bool IsBootstrappingOrContext(Object* object);
365 static bool IsBootstrappingOrGlobalObject(Object* object); 376 static bool IsBootstrappingOrGlobalObject(Object* object);
366 #endif 377 #endif
367 }; 378 };
368 379
369 } } // namespace v8::internal 380 } } // namespace v8::internal
370 381
371 #endif // V8_CONTEXTS_H_ 382 #endif // V8_CONTEXTS_H_
OLDNEW
« no previous file with comments | « src/codegen-inl.h ('k') | src/factory.h » ('j') | src/global-handles.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698