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 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
390 WeakObjectRetainer* retainer, | 392 WeakObjectRetainer* retainer, |
391 bool stop_after_young, | 393 bool stop_after_young, |
392 Object** list_tail); | 394 Object** list_tail); |
393 | 395 |
394 template Object* VisitWeakList<AllocationSite>(Heap* heap, Object* list, | 396 template Object* VisitWeakList<AllocationSite>(Heap* heap, Object* list, |
395 WeakObjectRetainer* retainer, | 397 WeakObjectRetainer* retainer, |
396 bool stop_after_young, | 398 bool stop_after_young, |
397 Object** list_tail); | 399 Object** list_tail); |
398 } | 400 } |
399 } // namespace v8::internal | 401 } // namespace v8::internal |
OLD | NEW |