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: |
151 #define EXTERNAL_ARRAY_CASE(Type, type, TYPE, ctype, size) \ | 152 #define EXTERNAL_ARRAY_CASE(Type, type, TYPE, ctype, size) \ |
152 case EXTERNAL_##TYPE##_ARRAY_TYPE: | 153 case EXTERNAL_##TYPE##_ARRAY_TYPE: |
153 | 154 |
154 TYPED_ARRAYS(EXTERNAL_ARRAY_CASE) | 155 TYPED_ARRAYS(EXTERNAL_ARRAY_CASE) |
155 return GetVisitorIdForSize(kVisitDataObject, | 156 return GetVisitorIdForSize(kVisitDataObject, |
156 kVisitDataObjectGeneric, | 157 kVisitDataObjectGeneric, |
157 instance_size); | 158 instance_size); |
158 #undef EXTERNAL_ARRAY_CASE | 159 #undef EXTERNAL_ARRAY_CASE |
159 | 160 |
160 case FIXED_UINT8_ARRAY_TYPE: | 161 case FIXED_UINT8_ARRAY_TYPE: |
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
450 | 451 |
451 | 452 |
452 template Object* VisitWeakList<JSArrayBuffer>( | 453 template Object* VisitWeakList<JSArrayBuffer>( |
453 Heap* heap, Object* list, WeakObjectRetainer* retainer); | 454 Heap* heap, Object* list, WeakObjectRetainer* retainer); |
454 | 455 |
455 | 456 |
456 template Object* VisitWeakList<AllocationSite>( | 457 template Object* VisitWeakList<AllocationSite>( |
457 Heap* heap, Object* list, WeakObjectRetainer* retainer); | 458 Heap* heap, Object* list, WeakObjectRetainer* retainer); |
458 | 459 |
459 } } // namespace v8::internal | 460 } } // namespace v8::internal |
OLD | NEW |