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

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

Issue 2435023002: Use a different map to distinguish eval contexts (Closed)
Patch Set: Changes from review Created 4 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
« no previous file with comments | « src/full-codegen/x87/full-codegen-x87.cc ('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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 /* Oddballs */ \ 70 /* Oddballs */ \
71 V(Oddball, no_interceptor_result_sentinel, NoInterceptorResultSentinel) \ 71 V(Oddball, no_interceptor_result_sentinel, NoInterceptorResultSentinel) \
72 V(Oddball, arguments_marker, ArgumentsMarker) \ 72 V(Oddball, arguments_marker, ArgumentsMarker) \
73 V(Oddball, exception, Exception) \ 73 V(Oddball, exception, Exception) \
74 V(Oddball, termination_exception, TerminationException) \ 74 V(Oddball, termination_exception, TerminationException) \
75 V(Oddball, optimized_out, OptimizedOut) \ 75 V(Oddball, optimized_out, OptimizedOut) \
76 V(Oddball, stale_register, StaleRegister) \ 76 V(Oddball, stale_register, StaleRegister) \
77 /* Context maps */ \ 77 /* Context maps */ \
78 V(Map, native_context_map, NativeContextMap) \ 78 V(Map, native_context_map, NativeContextMap) \
79 V(Map, module_context_map, ModuleContextMap) \ 79 V(Map, module_context_map, ModuleContextMap) \
80 V(Map, eval_context_map, EvalContextMap) \
80 V(Map, script_context_map, ScriptContextMap) \ 81 V(Map, script_context_map, ScriptContextMap) \
81 V(Map, block_context_map, BlockContextMap) \ 82 V(Map, block_context_map, BlockContextMap) \
82 V(Map, catch_context_map, CatchContextMap) \ 83 V(Map, catch_context_map, CatchContextMap) \
83 V(Map, with_context_map, WithContextMap) \ 84 V(Map, with_context_map, WithContextMap) \
84 V(Map, debug_evaluate_context_map, DebugEvaluateContextMap) \ 85 V(Map, debug_evaluate_context_map, DebugEvaluateContextMap) \
85 V(Map, script_context_table_map, ScriptContextTableMap) \ 86 V(Map, script_context_table_map, ScriptContextTableMap) \
86 /* Maps */ \ 87 /* Maps */ \
87 V(Map, fixed_double_array_map, FixedDoubleArrayMap) \ 88 V(Map, fixed_double_array_map, FixedDoubleArrayMap) \
88 V(Map, mutable_heap_number_map, MutableHeapNumberMap) \ 89 V(Map, mutable_heap_number_map, MutableHeapNumberMap) \
89 V(Map, ordered_hash_table_map, OrderedHashTableMap) \ 90 V(Map, ordered_hash_table_map, OrderedHashTableMap) \
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 V(EmptyByteArray) \ 295 V(EmptyByteArray) \
295 V(EmptyDescriptorArray) \ 296 V(EmptyDescriptorArray) \
296 V(ArgumentsMarker) \ 297 V(ArgumentsMarker) \
297 V(SymbolMap) \ 298 V(SymbolMap) \
298 V(SloppyArgumentsElementsMap) \ 299 V(SloppyArgumentsElementsMap) \
299 V(FunctionContextMap) \ 300 V(FunctionContextMap) \
300 V(CatchContextMap) \ 301 V(CatchContextMap) \
301 V(WithContextMap) \ 302 V(WithContextMap) \
302 V(BlockContextMap) \ 303 V(BlockContextMap) \
303 V(ModuleContextMap) \ 304 V(ModuleContextMap) \
305 V(EvalContextMap) \
304 V(ScriptContextMap) \ 306 V(ScriptContextMap) \
305 V(UndefinedMap) \ 307 V(UndefinedMap) \
306 V(TheHoleMap) \ 308 V(TheHoleMap) \
307 V(NullMap) \ 309 V(NullMap) \
308 V(BooleanMap) \ 310 V(BooleanMap) \
309 V(UninitializedMap) \ 311 V(UninitializedMap) \
310 V(ArgumentsMarkerMap) \ 312 V(ArgumentsMarkerMap) \
311 V(JSMessageObjectMap) \ 313 V(JSMessageObjectMap) \
312 V(ForeignMap) \ 314 V(ForeignMap) \
313 V(NanValue) \ 315 V(NanValue) \
(...skipping 2352 matching lines...) Expand 10 before | Expand all | Expand 10 after
2666 friend class LargeObjectSpace; 2668 friend class LargeObjectSpace;
2667 friend class NewSpace; 2669 friend class NewSpace;
2668 friend class PagedSpace; 2670 friend class PagedSpace;
2669 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); 2671 DISALLOW_COPY_AND_ASSIGN(AllocationObserver);
2670 }; 2672 };
2671 2673
2672 } // namespace internal 2674 } // namespace internal
2673 } // namespace v8 2675 } // namespace v8
2674 2676
2675 #endif // V8_HEAP_HEAP_H_ 2677 #endif // V8_HEAP_HEAP_H_
OLDNEW
« no previous file with comments | « src/full-codegen/x87/full-codegen-x87.cc ('k') | src/heap/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698