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

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

Issue 2567333002: [promises] port NewPromiseCapability to TF (Closed)
Patch Set: Make gcmole happy Created 3 years, 11 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/contexts.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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 V(Map, undefined_map, UndefinedMap) \ 220 V(Map, undefined_map, UndefinedMap) \
221 V(Map, the_hole_map, TheHoleMap) \ 221 V(Map, the_hole_map, TheHoleMap) \
222 V(Map, null_map, NullMap) \ 222 V(Map, null_map, NullMap) \
223 V(Map, boolean_map, BooleanMap) \ 223 V(Map, boolean_map, BooleanMap) \
224 V(Map, uninitialized_map, UninitializedMap) \ 224 V(Map, uninitialized_map, UninitializedMap) \
225 V(Map, arguments_marker_map, ArgumentsMarkerMap) \ 225 V(Map, arguments_marker_map, ArgumentsMarkerMap) \
226 V(Map, no_interceptor_result_sentinel_map, NoInterceptorResultSentinelMap) \ 226 V(Map, no_interceptor_result_sentinel_map, NoInterceptorResultSentinelMap) \
227 V(Map, exception_map, ExceptionMap) \ 227 V(Map, exception_map, ExceptionMap) \
228 V(Map, termination_exception_map, TerminationExceptionMap) \ 228 V(Map, termination_exception_map, TerminationExceptionMap) \
229 V(Map, optimized_out_map, OptimizedOutMap) \ 229 V(Map, optimized_out_map, OptimizedOutMap) \
230 V(Map, stale_register_map, StaleRegisterMap) 230 V(Map, stale_register_map, StaleRegisterMap) \
231 /* per-Isolate map for JSPromiseCapability. */ \
232 /* TODO(caitp): Make this a Struct */ \
233 V(Map, js_promise_capability_map, JSPromiseCapabilityMap)
231 234
232 // Entries in this list are limited to Smis and are not visited during GC. 235 // Entries in this list are limited to Smis and are not visited during GC.
233 #define SMI_ROOT_LIST(V) \ 236 #define SMI_ROOT_LIST(V) \
234 V(Smi, stack_limit, StackLimit) \ 237 V(Smi, stack_limit, StackLimit) \
235 V(Smi, real_stack_limit, RealStackLimit) \ 238 V(Smi, real_stack_limit, RealStackLimit) \
236 V(Smi, last_script_id, LastScriptId) \ 239 V(Smi, last_script_id, LastScriptId) \
237 V(Smi, hash_seed, HashSeed) \ 240 V(Smi, hash_seed, HashSeed) \
238 /* To distinguish the function templates, so that we can find them in the */ \ 241 /* To distinguish the function templates, so that we can find them in the */ \
239 /* function cache of the native context. */ \ 242 /* function cache of the native context. */ \
240 V(Smi, next_template_serial_number, NextTemplateSerialNumber) \ 243 V(Smi, next_template_serial_number, NextTemplateSerialNumber) \
(...skipping 2433 matching lines...) Expand 10 before | Expand all | Expand 10 after
2674 friend class LargeObjectSpace; 2677 friend class LargeObjectSpace;
2675 friend class NewSpace; 2678 friend class NewSpace;
2676 friend class PagedSpace; 2679 friend class PagedSpace;
2677 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); 2680 DISALLOW_COPY_AND_ASSIGN(AllocationObserver);
2678 }; 2681 };
2679 2682
2680 } // namespace internal 2683 } // namespace internal
2681 } // namespace v8 2684 } // namespace v8
2682 2685
2683 #endif // V8_HEAP_HEAP_H_ 2686 #endif // V8_HEAP_HEAP_H_
OLDNEW
« no previous file with comments | « src/contexts.h ('k') | src/heap/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698