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

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

Issue 1448933002: Introduce a BuiltinsConstructStub that sets up new.target and does a [[call]] per ES6 9.3.2 (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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.h ('k') | src/ia32/builtins-ia32.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 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 case JS_MODULE_TYPE: 130 case JS_MODULE_TYPE:
131 case JS_VALUE_TYPE: 131 case JS_VALUE_TYPE:
132 case JS_DATE_TYPE: 132 case JS_DATE_TYPE:
133 case JS_ARRAY_TYPE: 133 case JS_ARRAY_TYPE:
134 case JS_GLOBAL_PROXY_TYPE: 134 case JS_GLOBAL_PROXY_TYPE:
135 case JS_GLOBAL_OBJECT_TYPE: 135 case JS_GLOBAL_OBJECT_TYPE:
136 case JS_MESSAGE_OBJECT_TYPE: 136 case JS_MESSAGE_OBJECT_TYPE:
137 case JS_SET_ITERATOR_TYPE: 137 case JS_SET_ITERATOR_TYPE:
138 case JS_MAP_ITERATOR_TYPE: 138 case JS_MAP_ITERATOR_TYPE:
139 case JS_ITERATOR_RESULT_TYPE: 139 case JS_ITERATOR_RESULT_TYPE:
140 case JS_PROMISE_TYPE:
140 return GetVisitorIdForSize(kVisitJSObject, kVisitJSObjectGeneric, 141 return GetVisitorIdForSize(kVisitJSObject, kVisitJSObjectGeneric,
141 instance_size, has_unboxed_fields); 142 instance_size, has_unboxed_fields);
142 143
143 case JS_FUNCTION_TYPE: 144 case JS_FUNCTION_TYPE:
144 return kVisitJSFunction; 145 return kVisitJSFunction;
145 146
146 case HEAP_NUMBER_TYPE: 147 case HEAP_NUMBER_TYPE:
147 case MUTABLE_HEAP_NUMBER_TYPE: 148 case MUTABLE_HEAP_NUMBER_TYPE:
148 case SIMD128_VALUE_TYPE: 149 case SIMD128_VALUE_TYPE:
149 return GetVisitorIdForSize(kVisitDataObject, kVisitDataObjectGeneric, 150 return GetVisitorIdForSize(kVisitDataObject, kVisitDataObjectGeneric,
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 }; 358 };
358 359
359 360
360 template Object* VisitWeakList<Context>(Heap* heap, Object* list, 361 template Object* VisitWeakList<Context>(Heap* heap, Object* list,
361 WeakObjectRetainer* retainer); 362 WeakObjectRetainer* retainer);
362 363
363 template Object* VisitWeakList<AllocationSite>(Heap* heap, Object* list, 364 template Object* VisitWeakList<AllocationSite>(Heap* heap, Object* list,
364 WeakObjectRetainer* retainer); 365 WeakObjectRetainer* retainer);
365 } // namespace internal 366 } // namespace internal
366 } // namespace v8 367 } // namespace v8
OLDNEW
« no previous file with comments | « src/heap/heap.h ('k') | src/ia32/builtins-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698