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

Side by Side Diff: src/heap.h

Issue 196103004: Add support for per-isolate private symbols (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: More comments; force dictionary mode Created 6 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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 V(UnseededNumberDictionary, non_monomorphic_cache, NonMonomorphicCache) \ 183 V(UnseededNumberDictionary, non_monomorphic_cache, NonMonomorphicCache) \
184 V(PolymorphicCodeCache, polymorphic_code_cache, PolymorphicCodeCache) \ 184 V(PolymorphicCodeCache, polymorphic_code_cache, PolymorphicCodeCache) \
185 V(Code, js_entry_code, JsEntryCode) \ 185 V(Code, js_entry_code, JsEntryCode) \
186 V(Code, js_construct_entry_code, JsConstructEntryCode) \ 186 V(Code, js_construct_entry_code, JsConstructEntryCode) \
187 V(FixedArray, natives_source_cache, NativesSourceCache) \ 187 V(FixedArray, natives_source_cache, NativesSourceCache) \
188 V(Script, empty_script, EmptyScript) \ 188 V(Script, empty_script, EmptyScript) \
189 V(NameDictionary, intrinsic_function_names, IntrinsicFunctionNames) \ 189 V(NameDictionary, intrinsic_function_names, IntrinsicFunctionNames) \
190 V(Cell, undefined_cell, UndefineCell) \ 190 V(Cell, undefined_cell, UndefineCell) \
191 V(JSObject, observation_state, ObservationState) \ 191 V(JSObject, observation_state, ObservationState) \
192 V(Map, external_map, ExternalMap) \ 192 V(Map, external_map, ExternalMap) \
193 V(JSObject, symbol_registry, SymbolRegistry) \ 193 V(Object, symbol_registry, SymbolRegistry) \
194 V(Symbol, frozen_symbol, FrozenSymbol) \ 194 V(Symbol, frozen_symbol, FrozenSymbol) \
195 V(Symbol, nonexistent_symbol, NonExistentSymbol) \ 195 V(Symbol, nonexistent_symbol, NonExistentSymbol) \
196 V(Symbol, elements_transition_symbol, ElementsTransitionSymbol) \ 196 V(Symbol, elements_transition_symbol, ElementsTransitionSymbol) \
197 V(SeededNumberDictionary, empty_slow_element_dictionary, \ 197 V(SeededNumberDictionary, empty_slow_element_dictionary, \
198 EmptySlowElementDictionary) \ 198 EmptySlowElementDictionary) \
199 V(Symbol, observed_symbol, ObservedSymbol) \ 199 V(Symbol, observed_symbol, ObservedSymbol) \
200 V(Symbol, uninitialized_symbol, UninitializedSymbol) \ 200 V(Symbol, uninitialized_symbol, UninitializedSymbol) \
201 V(Symbol, megamorphic_symbol, MegamorphicSymbol) \ 201 V(Symbol, megamorphic_symbol, MegamorphicSymbol) \
202 V(FixedArray, materialized_objects, MaterializedObjects) \ 202 V(FixedArray, materialized_objects, MaterializedObjects) \
203 V(FixedArray, allocation_sites_scratchpad, AllocationSitesScratchpad) \ 203 V(FixedArray, allocation_sites_scratchpad, AllocationSitesScratchpad) \
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 V(input_string, "input") \ 299 V(input_string, "input") \
300 V(index_string, "index") \ 300 V(index_string, "index") \
301 V(last_index_string, "lastIndex") \ 301 V(last_index_string, "lastIndex") \
302 V(object_string, "object") \ 302 V(object_string, "object") \
303 V(literals_string, "literals") \ 303 V(literals_string, "literals") \
304 V(prototype_string, "prototype") \ 304 V(prototype_string, "prototype") \
305 V(string_string, "string") \ 305 V(string_string, "string") \
306 V(String_string, "String") \ 306 V(String_string, "String") \
307 V(symbol_string, "symbol") \ 307 V(symbol_string, "symbol") \
308 V(Symbol_string, "Symbol") \ 308 V(Symbol_string, "Symbol") \
309 V(for_string, "for") \
310 V(for_api_string, "for_api") \
311 V(for_intern_string, "for_intern") \
312 V(private_api_string, "private_api") \
313 V(private_intern_string, "private_intern") \
309 V(Date_string, "Date") \ 314 V(Date_string, "Date") \
310 V(this_string, "this") \ 315 V(this_string, "this") \
311 V(to_string_string, "toString") \ 316 V(to_string_string, "toString") \
312 V(char_at_string, "CharAt") \ 317 V(char_at_string, "CharAt") \
313 V(undefined_string, "undefined") \ 318 V(undefined_string, "undefined") \
314 V(value_of_string, "valueOf") \ 319 V(value_of_string, "valueOf") \
315 V(stack_string, "stack") \ 320 V(stack_string, "stack") \
316 V(toJSON_string, "toJSON") \ 321 V(toJSON_string, "toJSON") \
317 V(InitializeVarGlobal_string, "InitializeVarGlobal") \ 322 V(InitializeVarGlobal_string, "InitializeVarGlobal") \
318 V(InitializeConstGlobal_string, "InitializeConstGlobal") \ 323 V(InitializeConstGlobal_string, "InitializeConstGlobal") \
(...skipping 2804 matching lines...) Expand 10 before | Expand all | Expand 10 after
3123 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. 3128 DisallowHeapAllocation no_allocation; // i.e. no gc allowed.
3124 3129
3125 private: 3130 private:
3126 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 3131 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
3127 }; 3132 };
3128 #endif // DEBUG 3133 #endif // DEBUG
3129 3134
3130 } } // namespace v8::internal 3135 } } // namespace v8::internal
3131 3136
3132 #endif // V8_HEAP_H_ 3137 #endif // V8_HEAP_H_
OLDNEW
« no previous file with comments | « src/array-iterator.js ('k') | src/heap.cc » ('j') | src/isolate.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698