| 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/heap-inl.h" | 7 #include "src/heap/heap-inl.h" |
| 8 #include "src/heap/mark-compact-inl.h" | 8 #include "src/heap/mark-compact-inl.h" |
| 9 #include "src/heap/objects-visiting-inl.h" | 9 #include "src/heap/objects-visiting-inl.h" |
| 10 | 10 |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 case WEAK_CELL_TYPE: | 82 case WEAK_CELL_TYPE: |
| 83 return kVisitWeakCell; | 83 return kVisitWeakCell; |
| 84 | 84 |
| 85 case TRANSITION_ARRAY_TYPE: | 85 case TRANSITION_ARRAY_TYPE: |
| 86 return kVisitTransitionArray; | 86 return kVisitTransitionArray; |
| 87 | 87 |
| 88 case JS_WEAK_MAP_TYPE: | 88 case JS_WEAK_MAP_TYPE: |
| 89 case JS_WEAK_SET_TYPE: | 89 case JS_WEAK_SET_TYPE: |
| 90 return kVisitJSWeakCollection; | 90 return kVisitJSWeakCollection; |
| 91 | 91 |
| 92 case JS_WEAK_REF_TYPE: |
| 93 return kVisitJSWeakRef; |
| 94 |
| 92 case JS_REGEXP_TYPE: | 95 case JS_REGEXP_TYPE: |
| 93 return kVisitJSRegExp; | 96 return kVisitJSRegExp; |
| 94 | 97 |
| 95 case SHARED_FUNCTION_INFO_TYPE: | 98 case SHARED_FUNCTION_INFO_TYPE: |
| 96 return kVisitSharedFunctionInfo; | 99 return kVisitSharedFunctionInfo; |
| 97 | 100 |
| 98 case JS_PROXY_TYPE: | 101 case JS_PROXY_TYPE: |
| 99 return kVisitStruct; | 102 return kVisitStruct; |
| 100 | 103 |
| 101 case SYMBOL_TYPE: | 104 case SYMBOL_TYPE: |
| (...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 394 }; | 397 }; |
| 395 | 398 |
| 396 | 399 |
| 397 template Object* VisitWeakList<Context>(Heap* heap, Object* list, | 400 template Object* VisitWeakList<Context>(Heap* heap, Object* list, |
| 398 WeakObjectRetainer* retainer); | 401 WeakObjectRetainer* retainer); |
| 399 | 402 |
| 400 template Object* VisitWeakList<AllocationSite>(Heap* heap, Object* list, | 403 template Object* VisitWeakList<AllocationSite>(Heap* heap, Object* list, |
| 401 WeakObjectRetainer* retainer); | 404 WeakObjectRetainer* retainer); |
| 402 } // namespace internal | 405 } // namespace internal |
| 403 } // namespace v8 | 406 } // namespace v8 |
| OLD | NEW |