| 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 case JS_WEAK_SET_TYPE: | 83 case JS_WEAK_SET_TYPE: |
| 84 return kVisitJSWeakCollection; | 84 return kVisitJSWeakCollection; |
| 85 | 85 |
| 86 case JS_REGEXP_TYPE: | 86 case JS_REGEXP_TYPE: |
| 87 return kVisitJSRegExp; | 87 return kVisitJSRegExp; |
| 88 | 88 |
| 89 case SHARED_FUNCTION_INFO_TYPE: | 89 case SHARED_FUNCTION_INFO_TYPE: |
| 90 return kVisitSharedFunctionInfo; | 90 return kVisitSharedFunctionInfo; |
| 91 | 91 |
| 92 case JS_PROXY_TYPE: | 92 case JS_PROXY_TYPE: |
| 93 case JS_FUNCTION_PROXY_TYPE: | |
| 94 return GetVisitorIdForSize(kVisitStruct, kVisitStructGeneric, | 93 return GetVisitorIdForSize(kVisitStruct, kVisitStructGeneric, |
| 95 instance_size, has_unboxed_fields); | 94 instance_size, has_unboxed_fields); |
| 96 | 95 |
| 97 case SYMBOL_TYPE: | 96 case SYMBOL_TYPE: |
| 98 return kVisitSymbol; | 97 return kVisitSymbol; |
| 99 | 98 |
| 100 case JS_ARRAY_BUFFER_TYPE: | 99 case JS_ARRAY_BUFFER_TYPE: |
| 101 return kVisitJSArrayBuffer; | 100 return kVisitJSArrayBuffer; |
| 102 | 101 |
| 103 case JS_OBJECT_TYPE: | 102 case JS_OBJECT_TYPE: |
| (...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 350 }; | 349 }; |
| 351 | 350 |
| 352 | 351 |
| 353 template Object* VisitWeakList<Context>(Heap* heap, Object* list, | 352 template Object* VisitWeakList<Context>(Heap* heap, Object* list, |
| 354 WeakObjectRetainer* retainer); | 353 WeakObjectRetainer* retainer); |
| 355 | 354 |
| 356 template Object* VisitWeakList<AllocationSite>(Heap* heap, Object* list, | 355 template Object* VisitWeakList<AllocationSite>(Heap* heap, Object* list, |
| 357 WeakObjectRetainer* retainer); | 356 WeakObjectRetainer* retainer); |
| 358 } // namespace internal | 357 } // namespace internal |
| 359 } // namespace v8 | 358 } // namespace v8 |
| OLD | NEW |