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

Side by Side Diff: src/heap.h

Issue 181283003: Symbols for type cells. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments. 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
« no previous file with comments | « src/full-codegen.cc ('k') | src/heap.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 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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
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(Symbol, frozen_symbol, FrozenSymbol) \ 193 V(Symbol, frozen_symbol, FrozenSymbol) \
194 V(Symbol, elements_transition_symbol, ElementsTransitionSymbol) \ 194 V(Symbol, elements_transition_symbol, ElementsTransitionSymbol) \
195 V(SeededNumberDictionary, empty_slow_element_dictionary, \ 195 V(SeededNumberDictionary, empty_slow_element_dictionary, \
196 EmptySlowElementDictionary) \ 196 EmptySlowElementDictionary) \
197 V(Symbol, observed_symbol, ObservedSymbol) \ 197 V(Symbol, observed_symbol, ObservedSymbol) \
198 V(Symbol, uninitialized_symbol, UninitializedSymbol) \
199 V(Symbol, megamorphic_symbol, MegamorphicSymbol) \
198 V(FixedArray, materialized_objects, MaterializedObjects) \ 200 V(FixedArray, materialized_objects, MaterializedObjects) \
199 V(FixedArray, allocation_sites_scratchpad, AllocationSitesScratchpad) \ 201 V(FixedArray, allocation_sites_scratchpad, AllocationSitesScratchpad) \
200 V(JSObject, microtask_state, MicrotaskState) 202 V(JSObject, microtask_state, MicrotaskState)
201 203
202 // Entries in this list are limited to Smis and are not visited during GC. 204 // Entries in this list are limited to Smis and are not visited during GC.
203 #define SMI_ROOT_LIST(V) \ 205 #define SMI_ROOT_LIST(V) \
204 V(Smi, stack_limit, StackLimit) \ 206 V(Smi, stack_limit, StackLimit) \
205 V(Smi, real_stack_limit, RealStackLimit) \ 207 V(Smi, real_stack_limit, RealStackLimit) \
206 V(Smi, last_script_id, LastScriptId) \ 208 V(Smi, last_script_id, LastScriptId) \
207 V(Smi, arguments_adaptor_deopt_pc_offset, ArgumentsAdaptorDeoptPCOffset) \ 209 V(Smi, arguments_adaptor_deopt_pc_offset, ArgumentsAdaptorDeoptPCOffset) \
(...skipping 2906 matching lines...) Expand 10 before | Expand all | Expand 10 after
3114 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. 3116 DisallowHeapAllocation no_allocation; // i.e. no gc allowed.
3115 3117
3116 private: 3118 private:
3117 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 3119 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
3118 }; 3120 };
3119 #endif // DEBUG 3121 #endif // DEBUG
3120 3122
3121 } } // namespace v8::internal 3123 } } // namespace v8::internal
3122 3124
3123 #endif // V8_HEAP_H_ 3125 #endif // V8_HEAP_H_
OLDNEW
« no previous file with comments | « src/full-codegen.cc ('k') | src/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698