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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 | 173 |
174 case JS_FUNCTION_TYPE: | 174 case JS_FUNCTION_TYPE: |
175 return kVisitJSFunction; | 175 return kVisitJSFunction; |
176 | 176 |
177 case FILLER_TYPE: | 177 case FILLER_TYPE: |
178 if (instance_size == kPointerSize) return kVisitDataObjectGeneric; | 178 if (instance_size == kPointerSize) return kVisitDataObjectGeneric; |
179 // Fall through. | 179 // Fall through. |
180 case FOREIGN_TYPE: | 180 case FOREIGN_TYPE: |
181 case HEAP_NUMBER_TYPE: | 181 case HEAP_NUMBER_TYPE: |
182 case MUTABLE_HEAP_NUMBER_TYPE: | 182 case MUTABLE_HEAP_NUMBER_TYPE: |
| 183 case SIMD128_VALUE_TYPE: |
183 return GetVisitorIdForSize(kVisitDataObject, kVisitDataObjectGeneric, | 184 return GetVisitorIdForSize(kVisitDataObject, kVisitDataObjectGeneric, |
184 instance_size, has_unboxed_fields); | 185 instance_size, has_unboxed_fields); |
185 | 186 |
186 case FIXED_UINT8_ARRAY_TYPE: | 187 case FIXED_UINT8_ARRAY_TYPE: |
187 case FIXED_INT8_ARRAY_TYPE: | 188 case FIXED_INT8_ARRAY_TYPE: |
188 case FIXED_UINT16_ARRAY_TYPE: | 189 case FIXED_UINT16_ARRAY_TYPE: |
189 case FIXED_INT16_ARRAY_TYPE: | 190 case FIXED_INT16_ARRAY_TYPE: |
190 case FIXED_UINT32_ARRAY_TYPE: | 191 case FIXED_UINT32_ARRAY_TYPE: |
191 case FIXED_INT32_ARRAY_TYPE: | 192 case FIXED_INT32_ARRAY_TYPE: |
192 case FIXED_FLOAT32_ARRAY_TYPE: | 193 case FIXED_FLOAT32_ARRAY_TYPE: |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
399 }; | 400 }; |
400 | 401 |
401 | 402 |
402 template Object* VisitWeakList<Context>(Heap* heap, Object* list, | 403 template Object* VisitWeakList<Context>(Heap* heap, Object* list, |
403 WeakObjectRetainer* retainer); | 404 WeakObjectRetainer* retainer); |
404 | 405 |
405 template Object* VisitWeakList<AllocationSite>(Heap* heap, Object* list, | 406 template Object* VisitWeakList<AllocationSite>(Heap* heap, Object* list, |
406 WeakObjectRetainer* retainer); | 407 WeakObjectRetainer* retainer); |
407 } // namespace internal | 408 } // namespace internal |
408 } // namespace v8 | 409 } // namespace v8 |
OLD | NEW |