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

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

Issue 475423003: Implement Function.prototype.toMethod. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: CR feedback Created 6 years, 4 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 // 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 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 V(Symbol, nonexistent_symbol, NonExistentSymbol) \ 178 V(Symbol, nonexistent_symbol, NonExistentSymbol) \
179 V(Symbol, elements_transition_symbol, ElementsTransitionSymbol) \ 179 V(Symbol, elements_transition_symbol, ElementsTransitionSymbol) \
180 V(SeededNumberDictionary, empty_slow_element_dictionary, \ 180 V(SeededNumberDictionary, empty_slow_element_dictionary, \
181 EmptySlowElementDictionary) \ 181 EmptySlowElementDictionary) \
182 V(Symbol, observed_symbol, ObservedSymbol) \ 182 V(Symbol, observed_symbol, ObservedSymbol) \
183 V(Symbol, uninitialized_symbol, UninitializedSymbol) \ 183 V(Symbol, uninitialized_symbol, UninitializedSymbol) \
184 V(Symbol, megamorphic_symbol, MegamorphicSymbol) \ 184 V(Symbol, megamorphic_symbol, MegamorphicSymbol) \
185 V(Symbol, stack_trace_symbol, StackTraceSymbol) \ 185 V(Symbol, stack_trace_symbol, StackTraceSymbol) \
186 V(Symbol, detailed_stack_trace_symbol, DetailedStackTraceSymbol) \ 186 V(Symbol, detailed_stack_trace_symbol, DetailedStackTraceSymbol) \
187 V(Symbol, normal_ic_symbol, NormalICSymbol) \ 187 V(Symbol, normal_ic_symbol, NormalICSymbol) \
188 V(Symbol, home_object_symbol, HomeObjectSymbol) \
188 V(FixedArray, materialized_objects, MaterializedObjects) \ 189 V(FixedArray, materialized_objects, MaterializedObjects) \
189 V(FixedArray, allocation_sites_scratchpad, AllocationSitesScratchpad) \ 190 V(FixedArray, allocation_sites_scratchpad, AllocationSitesScratchpad) \
190 V(FixedArray, microtask_queue, MicrotaskQueue) 191 V(FixedArray, microtask_queue, MicrotaskQueue)
191 192
192 // Entries in this list are limited to Smis and are not visited during GC. 193 // Entries in this list are limited to Smis and are not visited during GC.
193 #define SMI_ROOT_LIST(V) \ 194 #define SMI_ROOT_LIST(V) \
194 V(Smi, stack_limit, StackLimit) \ 195 V(Smi, stack_limit, StackLimit) \
195 V(Smi, real_stack_limit, RealStackLimit) \ 196 V(Smi, real_stack_limit, RealStackLimit) \
196 V(Smi, last_script_id, LastScriptId) \ 197 V(Smi, last_script_id, LastScriptId) \
197 V(Smi, arguments_adaptor_deopt_pc_offset, ArgumentsAdaptorDeoptPCOffset) \ 198 V(Smi, arguments_adaptor_deopt_pc_offset, ArgumentsAdaptorDeoptPCOffset) \
(...skipping 2322 matching lines...) Expand 10 before | Expand all | Expand 10 after
2520 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. 2521 DisallowHeapAllocation no_allocation; // i.e. no gc allowed.
2521 2522
2522 private: 2523 private:
2523 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2524 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2524 }; 2525 };
2525 #endif // DEBUG 2526 #endif // DEBUG
2526 } 2527 }
2527 } // namespace v8::internal 2528 } // namespace v8::internal
2528 2529
2529 #endif // V8_HEAP_HEAP_H_ 2530 #endif // V8_HEAP_HEAP_H_
OLDNEW
« no previous file with comments | « src/harmony-classes.js ('k') | src/heap/heap.cc » ('j') | src/objects.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698