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/heap/objects-visiting.h" | 5 #include "src/heap/objects-visiting.h" |
6 | 6 |
7 #include "src/heap/mark-compact-inl.h" | 7 #include "src/heap/mark-compact-inl.h" |
8 #include "src/heap/objects-visiting-inl.h" | 8 #include "src/heap/objects-visiting-inl.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 | 72 |
73 case CELL_TYPE: | 73 case CELL_TYPE: |
74 return kVisitCell; | 74 return kVisitCell; |
75 | 75 |
76 case PROPERTY_CELL_TYPE: | 76 case PROPERTY_CELL_TYPE: |
77 return kVisitPropertyCell; | 77 return kVisitPropertyCell; |
78 | 78 |
79 case WEAK_CELL_TYPE: | 79 case WEAK_CELL_TYPE: |
80 return kVisitWeakCell; | 80 return kVisitWeakCell; |
81 | 81 |
82 case TRANSITION_ARRAY_TYPE: | |
83 return kVisitTransitionArray; | |
84 | |
85 case JS_WEAK_MAP_TYPE: | 82 case JS_WEAK_MAP_TYPE: |
86 case JS_WEAK_SET_TYPE: | 83 case JS_WEAK_SET_TYPE: |
87 return kVisitJSWeakCollection; | 84 return kVisitJSWeakCollection; |
88 | 85 |
89 case JS_REGEXP_TYPE: | 86 case JS_REGEXP_TYPE: |
90 return kVisitJSRegExp; | 87 return kVisitJSRegExp; |
91 | 88 |
92 case SHARED_FUNCTION_INFO_TYPE: | 89 case SHARED_FUNCTION_INFO_TYPE: |
93 return kVisitSharedFunctionInfo; | 90 return kVisitSharedFunctionInfo; |
94 | 91 |
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
353 }; | 350 }; |
354 | 351 |
355 | 352 |
356 template Object* VisitWeakList<Context>(Heap* heap, Object* list, | 353 template Object* VisitWeakList<Context>(Heap* heap, Object* list, |
357 WeakObjectRetainer* retainer); | 354 WeakObjectRetainer* retainer); |
358 | 355 |
359 template Object* VisitWeakList<AllocationSite>(Heap* heap, Object* list, | 356 template Object* VisitWeakList<AllocationSite>(Heap* heap, Object* list, |
360 WeakObjectRetainer* retainer); | 357 WeakObjectRetainer* retainer); |
361 } // namespace internal | 358 } // namespace internal |
362 } // namespace v8 | 359 } // namespace v8 |
OLD | NEW |