Index: runtime/vm/scavenger.cc |
=================================================================== |
--- runtime/vm/scavenger.cc (revision 33249) |
+++ runtime/vm/scavenger.cc (working copy) |
@@ -274,12 +274,12 @@ |
explicit ScavengerWeakVisitor(Scavenger* scavenger) : scavenger_(scavenger) { |
} |
- void VisitHandle(uword addr) { |
+ void VisitHandle(uword addr, bool is_prologue_weak) { |
FinalizablePersistentHandle* handle = |
reinterpret_cast<FinalizablePersistentHandle*>(addr); |
RawObject** p = handle->raw_addr(); |
if (scavenger_->IsUnreachable(p)) { |
- FinalizablePersistentHandle::Finalize(handle); |
+ FinalizablePersistentHandle::Finalize(handle, is_prologue_weak); |
} |
} |