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/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #include "src/heap/objects-visiting.h" | 7 #include "src/heap/objects-visiting.h" |
8 | 8 |
9 namespace v8 { | 9 namespace v8 { |
10 namespace internal { | 10 namespace internal { |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 case JS_SET_ITERATOR_TYPE: | 128 case JS_SET_ITERATOR_TYPE: |
129 case JS_MAP_ITERATOR_TYPE: | 129 case JS_MAP_ITERATOR_TYPE: |
130 return GetVisitorIdForSize(kVisitJSObject, kVisitJSObjectGeneric, | 130 return GetVisitorIdForSize(kVisitJSObject, kVisitJSObjectGeneric, |
131 instance_size, has_unboxed_fields); | 131 instance_size, has_unboxed_fields); |
132 | 132 |
133 case JS_FUNCTION_TYPE: | 133 case JS_FUNCTION_TYPE: |
134 return kVisitJSFunction; | 134 return kVisitJSFunction; |
135 | 135 |
136 case HEAP_NUMBER_TYPE: | 136 case HEAP_NUMBER_TYPE: |
137 case MUTABLE_HEAP_NUMBER_TYPE: | 137 case MUTABLE_HEAP_NUMBER_TYPE: |
| 138 case FLOAT32X4_TYPE: |
138 #define EXTERNAL_ARRAY_CASE(Type, type, TYPE, ctype, size) \ | 139 #define EXTERNAL_ARRAY_CASE(Type, type, TYPE, ctype, size) \ |
139 case EXTERNAL_##TYPE##_ARRAY_TYPE: | 140 case EXTERNAL_##TYPE##_ARRAY_TYPE: |
140 | 141 |
141 TYPED_ARRAYS(EXTERNAL_ARRAY_CASE) | 142 TYPED_ARRAYS(EXTERNAL_ARRAY_CASE) |
142 return GetVisitorIdForSize(kVisitDataObject, kVisitDataObjectGeneric, | 143 return GetVisitorIdForSize(kVisitDataObject, kVisitDataObjectGeneric, |
143 instance_size, has_unboxed_fields); | 144 instance_size, has_unboxed_fields); |
144 #undef EXTERNAL_ARRAY_CASE | 145 #undef EXTERNAL_ARRAY_CASE |
145 | 146 |
146 case FIXED_UINT8_ARRAY_TYPE: | 147 case FIXED_UINT8_ARRAY_TYPE: |
147 case FIXED_INT8_ARRAY_TYPE: | 148 case FIXED_INT8_ARRAY_TYPE: |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
352 }; | 353 }; |
353 | 354 |
354 | 355 |
355 template Object* VisitWeakList<Context>(Heap* heap, Object* list, | 356 template Object* VisitWeakList<Context>(Heap* heap, Object* list, |
356 WeakObjectRetainer* retainer); | 357 WeakObjectRetainer* retainer); |
357 | 358 |
358 template Object* VisitWeakList<AllocationSite>(Heap* heap, Object* list, | 359 template Object* VisitWeakList<AllocationSite>(Heap* heap, Object* list, |
359 WeakObjectRetainer* retainer); | 360 WeakObjectRetainer* retainer); |
360 } // namespace internal | 361 } // namespace internal |
361 } // namespace v8 | 362 } // namespace v8 |
OLD | NEW |