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

Side by Side Diff: src/heap.h

Issue 117483002: Make cells pointing to JSObjects weak in optimized code. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years 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 | « include/v8.h ('k') | src/heap.cc » ('j') | src/heap.cc » ('J')
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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 V(Code, js_construct_entry_code, JsConstructEntryCode) \ 177 V(Code, js_construct_entry_code, JsConstructEntryCode) \
178 V(FixedArray, natives_source_cache, NativesSourceCache) \ 178 V(FixedArray, natives_source_cache, NativesSourceCache) \
179 V(Smi, last_script_id, LastScriptId) \ 179 V(Smi, last_script_id, LastScriptId) \
180 V(Script, empty_script, EmptyScript) \ 180 V(Script, empty_script, EmptyScript) \
181 V(Smi, real_stack_limit, RealStackLimit) \ 181 V(Smi, real_stack_limit, RealStackLimit) \
182 V(NameDictionary, intrinsic_function_names, IntrinsicFunctionNames) \ 182 V(NameDictionary, intrinsic_function_names, IntrinsicFunctionNames) \
183 V(Smi, arguments_adaptor_deopt_pc_offset, ArgumentsAdaptorDeoptPCOffset) \ 183 V(Smi, arguments_adaptor_deopt_pc_offset, ArgumentsAdaptorDeoptPCOffset) \
184 V(Smi, construct_stub_deopt_pc_offset, ConstructStubDeoptPCOffset) \ 184 V(Smi, construct_stub_deopt_pc_offset, ConstructStubDeoptPCOffset) \
185 V(Smi, getter_stub_deopt_pc_offset, GetterStubDeoptPCOffset) \ 185 V(Smi, getter_stub_deopt_pc_offset, GetterStubDeoptPCOffset) \
186 V(Smi, setter_stub_deopt_pc_offset, SetterStubDeoptPCOffset) \ 186 V(Smi, setter_stub_deopt_pc_offset, SetterStubDeoptPCOffset) \
187 V(Cell, undefined_cell, UndefineCell) \
187 V(JSObject, observation_state, ObservationState) \ 188 V(JSObject, observation_state, ObservationState) \
188 V(Map, external_map, ExternalMap) \ 189 V(Map, external_map, ExternalMap) \
189 V(Symbol, frozen_symbol, FrozenSymbol) \ 190 V(Symbol, frozen_symbol, FrozenSymbol) \
190 V(Symbol, elements_transition_symbol, ElementsTransitionSymbol) \ 191 V(Symbol, elements_transition_symbol, ElementsTransitionSymbol) \
191 V(SeededNumberDictionary, empty_slow_element_dictionary, \ 192 V(SeededNumberDictionary, empty_slow_element_dictionary, \
192 EmptySlowElementDictionary) \ 193 EmptySlowElementDictionary) \
193 V(Symbol, observed_symbol, ObservedSymbol) 194 V(Symbol, observed_symbol, ObservedSymbol)
194 195
195 #define ROOT_LIST(V) \ 196 #define ROOT_LIST(V) \
196 STRONG_ROOT_LIST(V) \ 197 STRONG_ROOT_LIST(V) \
(...skipping 2804 matching lines...) Expand 10 before | Expand all | Expand 10 after
3001 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. 3002 DisallowHeapAllocation no_allocation; // i.e. no gc allowed.
3002 3003
3003 private: 3004 private:
3004 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 3005 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
3005 }; 3006 };
3006 #endif // DEBUG 3007 #endif // DEBUG
3007 3008
3008 } } // namespace v8::internal 3009 } } // namespace v8::internal
3009 3010
3010 #endif // V8_HEAP_H_ 3011 #endif // V8_HEAP_H_
OLDNEW
« no previous file with comments | « include/v8.h ('k') | src/heap.cc » ('j') | src/heap.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698