| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium 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 "Config.h" | 5 #include "Config.h" |
| 6 #include "Edge.h" | 6 #include "Edge.h" |
| 7 #include "RecordInfo.h" | 7 #include "RecordInfo.h" |
| 8 | 8 |
| 9 TracingStatus Value::NeedsTracing(NeedsTracingOption option) { | 9 TracingStatus Value::NeedsTracing(NeedsTracingOption option) { |
| 10 return value_->NeedsTracing(option); | 10 return value_->NeedsTracing(option); |
| 11 } | 11 } |
| 12 | 12 |
| 13 bool Value::NeedsFinalization() { return value_->NeedsFinalization(); } |
| 14 bool Collection::NeedsFinalization() { return info_->NeedsFinalization(); } |
| 15 |
| 13 void RecursiveEdgeVisitor::AtValue(Value*) {} | 16 void RecursiveEdgeVisitor::AtValue(Value*) {} |
| 14 void RecursiveEdgeVisitor::AtRawPtr(RawPtr*) {} | 17 void RecursiveEdgeVisitor::AtRawPtr(RawPtr*) {} |
| 15 void RecursiveEdgeVisitor::AtRefPtr(RefPtr*) {} | 18 void RecursiveEdgeVisitor::AtRefPtr(RefPtr*) {} |
| 16 void RecursiveEdgeVisitor::AtOwnPtr(OwnPtr*) {} | 19 void RecursiveEdgeVisitor::AtOwnPtr(OwnPtr*) {} |
| 17 void RecursiveEdgeVisitor::AtMember(Member*) {} | 20 void RecursiveEdgeVisitor::AtMember(Member*) {} |
| 18 void RecursiveEdgeVisitor::AtWeakMember(WeakMember*) {} | 21 void RecursiveEdgeVisitor::AtWeakMember(WeakMember*) {} |
| 19 void RecursiveEdgeVisitor::AtPersistent(Persistent*) {} | 22 void RecursiveEdgeVisitor::AtPersistent(Persistent*) {} |
| 20 void RecursiveEdgeVisitor::AtCollection(Collection*) {} | 23 void RecursiveEdgeVisitor::AtCollection(Collection*) {} |
| 21 | 24 |
| 22 void RecursiveEdgeVisitor::VisitValue(Value* e) { | 25 void RecursiveEdgeVisitor::VisitValue(Value* e) { |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 e->ptr()->Accept(this); | 66 e->ptr()->Accept(this); |
| 64 Leave(); | 67 Leave(); |
| 65 } | 68 } |
| 66 | 69 |
| 67 void RecursiveEdgeVisitor::VisitCollection(Collection* e) { | 70 void RecursiveEdgeVisitor::VisitCollection(Collection* e) { |
| 68 AtCollection(e); | 71 AtCollection(e); |
| 69 Enter(e); | 72 Enter(e); |
| 70 e->AcceptMembers(this); | 73 e->AcceptMembers(this); |
| 71 Leave(); | 74 Leave(); |
| 72 } | 75 } |
| OLD | NEW |