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

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: Fixing builds 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
« no previous file with comments | « src/globals.h ('k') | src/heap/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 // 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 2653 matching lines...) Expand 10 before | Expand all | Expand 10 after
2858 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. 2859 DisallowHeapAllocation no_allocation; // i.e. no gc allowed.
2859 2860
2860 private: 2861 private:
2861 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2862 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2862 }; 2863 };
2863 #endif // DEBUG 2864 #endif // DEBUG
2864 } 2865 }
2865 } // namespace v8::internal 2866 } // namespace v8::internal
2866 2867
2867 #endif // V8_HEAP_HEAP_H_ 2868 #endif // V8_HEAP_HEAP_H_
OLDNEW
« no previous file with comments | « src/globals.h ('k') | src/heap/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698