OLD | NEW |
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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 case JS_ARRAY_TYPE: | 113 case JS_ARRAY_TYPE: |
114 case JS_GLOBAL_PROXY_TYPE: | 114 case JS_GLOBAL_PROXY_TYPE: |
115 case JS_GLOBAL_OBJECT_TYPE: | 115 case JS_GLOBAL_OBJECT_TYPE: |
116 case JS_MESSAGE_OBJECT_TYPE: | 116 case JS_MESSAGE_OBJECT_TYPE: |
117 case JS_TYPED_ARRAY_TYPE: | 117 case JS_TYPED_ARRAY_TYPE: |
118 case JS_DATA_VIEW_TYPE: | 118 case JS_DATA_VIEW_TYPE: |
119 case JS_SET_TYPE: | 119 case JS_SET_TYPE: |
120 case JS_MAP_TYPE: | 120 case JS_MAP_TYPE: |
121 case JS_SET_ITERATOR_TYPE: | 121 case JS_SET_ITERATOR_TYPE: |
122 case JS_MAP_ITERATOR_TYPE: | 122 case JS_MAP_ITERATOR_TYPE: |
| 123 case JS_STRING_ITERATOR_TYPE: |
123 case JS_PROMISE_TYPE: | 124 case JS_PROMISE_TYPE: |
124 case JS_BOUND_FUNCTION_TYPE: | 125 case JS_BOUND_FUNCTION_TYPE: |
125 return GetVisitorIdForSize(kVisitJSObject, kVisitJSObjectGeneric, | 126 return GetVisitorIdForSize(kVisitJSObject, kVisitJSObjectGeneric, |
126 instance_size, has_unboxed_fields); | 127 instance_size, has_unboxed_fields); |
127 case JS_API_OBJECT_TYPE: | 128 case JS_API_OBJECT_TYPE: |
128 case JS_SPECIAL_API_OBJECT_TYPE: | 129 case JS_SPECIAL_API_OBJECT_TYPE: |
129 return GetVisitorIdForSize(kVisitJSApiObject, kVisitJSApiObjectGeneric, | 130 return GetVisitorIdForSize(kVisitJSApiObject, kVisitJSApiObjectGeneric, |
130 instance_size, has_unboxed_fields); | 131 instance_size, has_unboxed_fields); |
131 | 132 |
132 case JS_FUNCTION_TYPE: | 133 case JS_FUNCTION_TYPE: |
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
358 }; | 359 }; |
359 | 360 |
360 | 361 |
361 template Object* VisitWeakList<Context>(Heap* heap, Object* list, | 362 template Object* VisitWeakList<Context>(Heap* heap, Object* list, |
362 WeakObjectRetainer* retainer); | 363 WeakObjectRetainer* retainer); |
363 | 364 |
364 template Object* VisitWeakList<AllocationSite>(Heap* heap, Object* list, | 365 template Object* VisitWeakList<AllocationSite>(Heap* heap, Object* list, |
365 WeakObjectRetainer* retainer); | 366 WeakObjectRetainer* retainer); |
366 } // namespace internal | 367 } // namespace internal |
367 } // namespace v8 | 368 } // namespace v8 |
OLD | NEW |