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

Side by Side Diff: src/heap/objects-visiting.cc

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/heap/heap.cc ('k') | src/js/promise.js » ('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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 #include "src/heap/objects-visiting.h" 5 #include "src/heap/objects-visiting.h"
6 6
7 #include "src/heap/mark-compact-inl.h" 7 #include "src/heap/mark-compact-inl.h"
8 #include "src/heap/objects-visiting-inl.h" 8 #include "src/heap/objects-visiting-inl.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 case JS_FLOAT64_ARRAY_VALUE_ITERATOR_TYPE: 151 case JS_FLOAT64_ARRAY_VALUE_ITERATOR_TYPE:
152 case JS_UINT8_CLAMPED_ARRAY_VALUE_ITERATOR_TYPE: 152 case JS_UINT8_CLAMPED_ARRAY_VALUE_ITERATOR_TYPE:
153 case JS_FAST_SMI_ARRAY_VALUE_ITERATOR_TYPE: 153 case JS_FAST_SMI_ARRAY_VALUE_ITERATOR_TYPE:
154 case JS_FAST_HOLEY_SMI_ARRAY_VALUE_ITERATOR_TYPE: 154 case JS_FAST_HOLEY_SMI_ARRAY_VALUE_ITERATOR_TYPE:
155 case JS_FAST_ARRAY_VALUE_ITERATOR_TYPE: 155 case JS_FAST_ARRAY_VALUE_ITERATOR_TYPE:
156 case JS_FAST_HOLEY_ARRAY_VALUE_ITERATOR_TYPE: 156 case JS_FAST_HOLEY_ARRAY_VALUE_ITERATOR_TYPE:
157 case JS_FAST_DOUBLE_ARRAY_VALUE_ITERATOR_TYPE: 157 case JS_FAST_DOUBLE_ARRAY_VALUE_ITERATOR_TYPE:
158 case JS_FAST_HOLEY_DOUBLE_ARRAY_VALUE_ITERATOR_TYPE: 158 case JS_FAST_HOLEY_DOUBLE_ARRAY_VALUE_ITERATOR_TYPE:
159 case JS_GENERIC_ARRAY_VALUE_ITERATOR_TYPE: 159 case JS_GENERIC_ARRAY_VALUE_ITERATOR_TYPE:
160 160
161 case JS_PROMISE_CAPABILITY_TYPE:
161 case JS_PROMISE_TYPE: 162 case JS_PROMISE_TYPE:
162 case JS_BOUND_FUNCTION_TYPE: 163 case JS_BOUND_FUNCTION_TYPE:
163 return GetVisitorIdForSize(kVisitJSObject, kVisitJSObjectGeneric, 164 return GetVisitorIdForSize(kVisitJSObject, kVisitJSObjectGeneric,
164 instance_size, has_unboxed_fields); 165 instance_size, has_unboxed_fields);
165 case JS_API_OBJECT_TYPE: 166 case JS_API_OBJECT_TYPE:
166 case JS_SPECIAL_API_OBJECT_TYPE: 167 case JS_SPECIAL_API_OBJECT_TYPE:
167 return GetVisitorIdForSize(kVisitJSApiObject, kVisitJSApiObjectGeneric, 168 return GetVisitorIdForSize(kVisitJSApiObject, kVisitJSApiObjectGeneric,
168 instance_size, has_unboxed_fields); 169 instance_size, has_unboxed_fields);
169 170
170 case JS_FUNCTION_TYPE: 171 case JS_FUNCTION_TYPE:
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 }; 397 };
397 398
398 399
399 template Object* VisitWeakList<Context>(Heap* heap, Object* list, 400 template Object* VisitWeakList<Context>(Heap* heap, Object* list,
400 WeakObjectRetainer* retainer); 401 WeakObjectRetainer* retainer);
401 402
402 template Object* VisitWeakList<AllocationSite>(Heap* heap, Object* list, 403 template Object* VisitWeakList<AllocationSite>(Heap* heap, Object* list,
403 WeakObjectRetainer* retainer); 404 WeakObjectRetainer* retainer);
404 } // namespace internal 405 } // namespace internal
405 } // namespace v8 406 } // namespace v8
OLDNEW
« no previous file with comments | « src/heap/heap.cc ('k') | src/js/promise.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698