| 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 return GetVisitorIdForSize(kVisitDataObject, kVisitDataObjectGeneric, | 102 return GetVisitorIdForSize(kVisitDataObject, kVisitDataObjectGeneric, |
| 103 Foreign::kSize, has_unboxed_fields); | 103 Foreign::kSize, has_unboxed_fields); |
| 104 | 104 |
| 105 case SYMBOL_TYPE: | 105 case SYMBOL_TYPE: |
| 106 return kVisitSymbol; | 106 return kVisitSymbol; |
| 107 | 107 |
| 108 case FILLER_TYPE: | 108 case FILLER_TYPE: |
| 109 return kVisitDataObjectGeneric; | 109 return kVisitDataObjectGeneric; |
| 110 | 110 |
| 111 case JS_ARRAY_BUFFER_TYPE: | 111 case JS_ARRAY_BUFFER_TYPE: |
| 112 case JS_SHARED_ARRAY_BUFFER_TYPE: |
| 112 return kVisitJSArrayBuffer; | 113 return kVisitJSArrayBuffer; |
| 113 | 114 |
| 114 case JS_TYPED_ARRAY_TYPE: | 115 case JS_TYPED_ARRAY_TYPE: |
| 116 case JS_SHARED_TYPED_ARRAY_TYPE: |
| 115 return kVisitJSTypedArray; | 117 return kVisitJSTypedArray; |
| 116 | 118 |
| 117 case JS_DATA_VIEW_TYPE: | 119 case JS_DATA_VIEW_TYPE: |
| 118 return kVisitJSDataView; | 120 return kVisitJSDataView; |
| 119 | 121 |
| 120 case JS_OBJECT_TYPE: | 122 case JS_OBJECT_TYPE: |
| 121 case JS_CONTEXT_EXTENSION_OBJECT_TYPE: | 123 case JS_CONTEXT_EXTENSION_OBJECT_TYPE: |
| 122 case JS_GENERATOR_OBJECT_TYPE: | 124 case JS_GENERATOR_OBJECT_TYPE: |
| 123 case JS_MODULE_TYPE: | 125 case JS_MODULE_TYPE: |
| 124 case JS_VALUE_TYPE: | 126 case JS_VALUE_TYPE: |
| (...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 355 }; | 357 }; |
| 356 | 358 |
| 357 | 359 |
| 358 template Object* VisitWeakList<Context>(Heap* heap, Object* list, | 360 template Object* VisitWeakList<Context>(Heap* heap, Object* list, |
| 359 WeakObjectRetainer* retainer); | 361 WeakObjectRetainer* retainer); |
| 360 | 362 |
| 361 template Object* VisitWeakList<AllocationSite>(Heap* heap, Object* list, | 363 template Object* VisitWeakList<AllocationSite>(Heap* heap, Object* list, |
| 362 WeakObjectRetainer* retainer); | 364 WeakObjectRetainer* retainer); |
| 363 } | 365 } |
| 364 } // namespace v8::internal | 366 } // namespace v8::internal |
| OLD | NEW |