Index: runtime/vm/scavenger.cc |
=================================================================== |
--- runtime/vm/scavenger.cc (revision 11638) |
+++ runtime/vm/scavenger.cc (working copy) |
@@ -195,7 +195,7 @@ |
void VisitHandle(uword addr) { |
FinalizablePersistentHandle* handle = |
reinterpret_cast<FinalizablePersistentHandle*>(addr); |
- RawObject** p = reinterpret_cast<RawObject**>(handle); |
+ RawObject** p = handle->raw_addr(); |
if (scavenger_->IsUnreachable(p)) { |
FinalizablePersistentHandle::Finalize(handle); |
} |