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

Side by Side Diff: src/contexts.h

Issue 2670093002: [bootstrapper] clear extras utils object after usage. (Closed)
Patch Set: fix Created 3 years, 10 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
« no previous file with comments | « src/bootstrapper.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_CONTEXTS_H_ 5 #ifndef V8_CONTEXTS_H_
6 #define V8_CONTEXTS_H_ 6 #define V8_CONTEXTS_H_
7 7
8 #include "src/heap/heap.h" 8 #include "src/heap/heap.h"
9 #include "src/objects.h" 9 #include "src/objects.h"
10 10
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 V(CALLSITE_FUNCTION_INDEX, JSFunction, callsite_function) \ 215 V(CALLSITE_FUNCTION_INDEX, JSFunction, callsite_function) \
216 V(CONTEXT_EXTENSION_FUNCTION_INDEX, JSFunction, context_extension_function) \ 216 V(CONTEXT_EXTENSION_FUNCTION_INDEX, JSFunction, context_extension_function) \
217 V(CURRENT_MODULE_INDEX, Module, current_module) \ 217 V(CURRENT_MODULE_INDEX, Module, current_module) \
218 V(DATA_PROPERTY_DESCRIPTOR_MAP_INDEX, Map, data_property_descriptor_map) \ 218 V(DATA_PROPERTY_DESCRIPTOR_MAP_INDEX, Map, data_property_descriptor_map) \
219 V(DATA_VIEW_FUN_INDEX, JSFunction, data_view_fun) \ 219 V(DATA_VIEW_FUN_INDEX, JSFunction, data_view_fun) \
220 V(DATE_FUNCTION_INDEX, JSFunction, date_function) \ 220 V(DATE_FUNCTION_INDEX, JSFunction, date_function) \
221 V(ERROR_MESSAGE_FOR_CODE_GEN_FROM_STRINGS_INDEX, Object, \ 221 V(ERROR_MESSAGE_FOR_CODE_GEN_FROM_STRINGS_INDEX, Object, \
222 error_message_for_code_gen_from_strings) \ 222 error_message_for_code_gen_from_strings) \
223 V(ERRORS_THROWN_INDEX, Smi, errors_thrown) \ 223 V(ERRORS_THROWN_INDEX, Smi, errors_thrown) \
224 V(EXTRAS_EXPORTS_OBJECT_INDEX, JSObject, extras_binding_object) \ 224 V(EXTRAS_EXPORTS_OBJECT_INDEX, JSObject, extras_binding_object) \
225 V(EXTRAS_UTILS_OBJECT_INDEX, JSObject, extras_utils_object) \ 225 V(EXTRAS_UTILS_OBJECT_INDEX, Object, extras_utils_object) \
226 V(FAST_ALIASED_ARGUMENTS_MAP_INDEX, Map, fast_aliased_arguments_map) \ 226 V(FAST_ALIASED_ARGUMENTS_MAP_INDEX, Map, fast_aliased_arguments_map) \
227 V(FAST_TEMPLATE_INSTANTIATIONS_CACHE_INDEX, FixedArray, \ 227 V(FAST_TEMPLATE_INSTANTIATIONS_CACHE_INDEX, FixedArray, \
228 fast_template_instantiations_cache) \ 228 fast_template_instantiations_cache) \
229 V(FLOAT32_ARRAY_FUN_INDEX, JSFunction, float32_array_fun) \ 229 V(FLOAT32_ARRAY_FUN_INDEX, JSFunction, float32_array_fun) \
230 V(FLOAT32X4_FUNCTION_INDEX, JSFunction, float32x4_function) \ 230 V(FLOAT32X4_FUNCTION_INDEX, JSFunction, float32x4_function) \
231 V(FLOAT64_ARRAY_FUN_INDEX, JSFunction, float64_array_fun) \ 231 V(FLOAT64_ARRAY_FUN_INDEX, JSFunction, float64_array_fun) \
232 V(FUNCTION_FUNCTION_INDEX, JSFunction, function_function) \ 232 V(FUNCTION_FUNCTION_INDEX, JSFunction, function_function) \
233 V(GENERATOR_FUNCTION_FUNCTION_INDEX, JSFunction, \ 233 V(GENERATOR_FUNCTION_FUNCTION_INDEX, JSFunction, \
234 generator_function_function) \ 234 generator_function_function) \
235 V(GENERATOR_OBJECT_PROTOTYPE_MAP_INDEX, Map, generator_object_prototype_map) \ 235 V(GENERATOR_OBJECT_PROTOTYPE_MAP_INDEX, Map, generator_object_prototype_map) \
(...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after
694 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); 694 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize);
695 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); 695 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex);
696 }; 696 };
697 697
698 typedef Context::Field ContextField; 698 typedef Context::Field ContextField;
699 699
700 } // namespace internal 700 } // namespace internal
701 } // namespace v8 701 } // namespace v8
702 702
703 #endif // V8_CONTEXTS_H_ 703 #endif // V8_CONTEXTS_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698