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

Side by Side Diff: src/heap/heap.h

Issue 1218783005: Support for global var shortcuts in script contexts. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 5 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
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_HEAP_HEAP_H_ 5 #ifndef V8_HEAP_HEAP_H_
6 #define V8_HEAP_HEAP_H_ 6 #define V8_HEAP_HEAP_H_
7 7
8 #include <cmath> 8 #include <cmath>
9 #include <map> 9 #include <map>
10 10
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 EmptySlowElementDictionary) \ 185 EmptySlowElementDictionary) \
186 V(FixedArray, materialized_objects, MaterializedObjects) \ 186 V(FixedArray, materialized_objects, MaterializedObjects) \
187 V(FixedArray, allocation_sites_scratchpad, AllocationSitesScratchpad) \ 187 V(FixedArray, allocation_sites_scratchpad, AllocationSitesScratchpad) \
188 V(FixedArray, microtask_queue, MicrotaskQueue) \ 188 V(FixedArray, microtask_queue, MicrotaskQueue) \
189 V(FixedArray, keyed_load_dummy_vector, KeyedLoadDummyVector) \ 189 V(FixedArray, keyed_load_dummy_vector, KeyedLoadDummyVector) \
190 V(FixedArray, keyed_store_dummy_vector, KeyedStoreDummyVector) \ 190 V(FixedArray, keyed_store_dummy_vector, KeyedStoreDummyVector) \
191 V(FixedArray, detached_contexts, DetachedContexts) \ 191 V(FixedArray, detached_contexts, DetachedContexts) \
192 V(ArrayList, retained_maps, RetainedMaps) \ 192 V(ArrayList, retained_maps, RetainedMaps) \
193 V(WeakHashTable, weak_object_to_code_table, WeakObjectToCodeTable) \ 193 V(WeakHashTable, weak_object_to_code_table, WeakObjectToCodeTable) \
194 V(PropertyCell, array_protector, ArrayProtector) \ 194 V(PropertyCell, array_protector, ArrayProtector) \
195 V(PropertyCell, empty_property_cell, EmptyPropertyCell) \
195 V(Object, weak_stack_trace_list, WeakStackTraceList) 196 V(Object, weak_stack_trace_list, WeakStackTraceList)
196 197
197 // Entries in this list are limited to Smis and are not visited during GC. 198 // Entries in this list are limited to Smis and are not visited during GC.
198 #define SMI_ROOT_LIST(V) \ 199 #define SMI_ROOT_LIST(V) \
199 V(Smi, stack_limit, StackLimit) \ 200 V(Smi, stack_limit, StackLimit) \
200 V(Smi, real_stack_limit, RealStackLimit) \ 201 V(Smi, real_stack_limit, RealStackLimit) \
201 V(Smi, last_script_id, LastScriptId) \ 202 V(Smi, last_script_id, LastScriptId) \
202 V(Smi, arguments_adaptor_deopt_pc_offset, ArgumentsAdaptorDeoptPCOffset) \ 203 V(Smi, arguments_adaptor_deopt_pc_offset, ArgumentsAdaptorDeoptPCOffset) \
203 V(Smi, construct_stub_deopt_pc_offset, ConstructStubDeoptPCOffset) \ 204 V(Smi, construct_stub_deopt_pc_offset, ConstructStubDeoptPCOffset) \
204 V(Smi, getter_stub_deopt_pc_offset, GetterStubDeoptPCOffset) \ 205 V(Smi, getter_stub_deopt_pc_offset, GetterStubDeoptPCOffset) \
(...skipping 2647 matching lines...) Expand 10 before | Expand all | Expand 10 after
2852 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. 2853 DisallowHeapAllocation no_allocation; // i.e. no gc allowed.
2853 2854
2854 private: 2855 private:
2855 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2856 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2856 }; 2857 };
2857 #endif // DEBUG 2858 #endif // DEBUG
2858 } 2859 }
2859 } // namespace v8::internal 2860 } // namespace v8::internal
2860 2861
2861 #endif // V8_HEAP_HEAP_H_ 2862 #endif // V8_HEAP_HEAP_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698