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 "v8.h" | 5 #include "v8.h" |
6 | 6 |
7 #include "ic-inl.h" | 7 #include "ic-inl.h" |
8 #include "objects-visiting.h" | 8 #include "objects-visiting.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 return GetVisitorIdForSize(kVisitStruct, | 81 return GetVisitorIdForSize(kVisitStruct, |
82 kVisitStructGeneric, | 82 kVisitStructGeneric, |
83 JSSet::kSize); | 83 JSSet::kSize); |
84 | 84 |
85 case JS_MAP_TYPE: | 85 case JS_MAP_TYPE: |
86 return GetVisitorIdForSize(kVisitStruct, | 86 return GetVisitorIdForSize(kVisitStruct, |
87 kVisitStructGeneric, | 87 kVisitStructGeneric, |
88 JSMap::kSize); | 88 JSMap::kSize); |
89 | 89 |
90 case JS_WEAK_MAP_TYPE: | 90 case JS_WEAK_MAP_TYPE: |
91 return kVisitJSWeakMap; | |
92 | |
93 case JS_WEAK_SET_TYPE: | 91 case JS_WEAK_SET_TYPE: |
94 return kVisitJSWeakSet; | 92 return kVisitJSWeakCollection; |
95 | 93 |
96 case JS_REGEXP_TYPE: | 94 case JS_REGEXP_TYPE: |
97 return kVisitJSRegExp; | 95 return kVisitJSRegExp; |
98 | 96 |
99 case SHARED_FUNCTION_INFO_TYPE: | 97 case SHARED_FUNCTION_INFO_TYPE: |
100 return kVisitSharedFunctionInfo; | 98 return kVisitSharedFunctionInfo; |
101 | 99 |
102 case JS_PROXY_TYPE: | 100 case JS_PROXY_TYPE: |
103 return GetVisitorIdForSize(kVisitStruct, | 101 return GetVisitorIdForSize(kVisitStruct, |
104 kVisitStructGeneric, | 102 kVisitStructGeneric, |
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
452 | 450 |
453 | 451 |
454 template Object* VisitWeakList<JSArrayBuffer>( | 452 template Object* VisitWeakList<JSArrayBuffer>( |
455 Heap* heap, Object* list, WeakObjectRetainer* retainer); | 453 Heap* heap, Object* list, WeakObjectRetainer* retainer); |
456 | 454 |
457 | 455 |
458 template Object* VisitWeakList<AllocationSite>( | 456 template Object* VisitWeakList<AllocationSite>( |
459 Heap* heap, Object* list, WeakObjectRetainer* retainer); | 457 Heap* heap, Object* list, WeakObjectRetainer* retainer); |
460 | 458 |
461 } } // namespace v8::internal | 459 } } // namespace v8::internal |
OLD | NEW |