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/ic-inl.h" | 7 #include "src/ic-inl.h" |
8 #include "src/objects-visiting.h" | 8 #include "src/objects-visiting.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 case JS_SET_ITERATOR_TYPE: | 141 case JS_SET_ITERATOR_TYPE: |
142 case JS_MAP_ITERATOR_TYPE: | 142 case JS_MAP_ITERATOR_TYPE: |
143 return GetVisitorIdForSize(kVisitJSObject, | 143 return GetVisitorIdForSize(kVisitJSObject, |
144 kVisitJSObjectGeneric, | 144 kVisitJSObjectGeneric, |
145 instance_size); | 145 instance_size); |
146 | 146 |
147 case JS_FUNCTION_TYPE: | 147 case JS_FUNCTION_TYPE: |
148 return kVisitJSFunction; | 148 return kVisitJSFunction; |
149 | 149 |
150 case HEAP_NUMBER_TYPE: | 150 case HEAP_NUMBER_TYPE: |
151 case MUTABLE_HEAP_NUMBER_TYPE: | |
152 #define EXTERNAL_ARRAY_CASE(Type, type, TYPE, ctype, size) \ | 151 #define EXTERNAL_ARRAY_CASE(Type, type, TYPE, ctype, size) \ |
153 case EXTERNAL_##TYPE##_ARRAY_TYPE: | 152 case EXTERNAL_##TYPE##_ARRAY_TYPE: |
154 | 153 |
155 TYPED_ARRAYS(EXTERNAL_ARRAY_CASE) | 154 TYPED_ARRAYS(EXTERNAL_ARRAY_CASE) |
156 return GetVisitorIdForSize(kVisitDataObject, | 155 return GetVisitorIdForSize(kVisitDataObject, |
157 kVisitDataObjectGeneric, | 156 kVisitDataObjectGeneric, |
158 instance_size); | 157 instance_size); |
159 #undef EXTERNAL_ARRAY_CASE | 158 #undef EXTERNAL_ARRAY_CASE |
160 | 159 |
161 case FIXED_UINT8_ARRAY_TYPE: | 160 case FIXED_UINT8_ARRAY_TYPE: |
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
451 | 450 |
452 | 451 |
453 template Object* VisitWeakList<JSArrayBuffer>( | 452 template Object* VisitWeakList<JSArrayBuffer>( |
454 Heap* heap, Object* list, WeakObjectRetainer* retainer); | 453 Heap* heap, Object* list, WeakObjectRetainer* retainer); |
455 | 454 |
456 | 455 |
457 template Object* VisitWeakList<AllocationSite>( | 456 template Object* VisitWeakList<AllocationSite>( |
458 Heap* heap, Object* list, WeakObjectRetainer* retainer); | 457 Heap* heap, Object* list, WeakObjectRetainer* retainer); |
459 | 458 |
460 } } // namespace v8::internal | 459 } } // namespace v8::internal |
OLD | NEW |