Index: runtime/vm/disassembler.cc |
diff --git a/runtime/vm/disassembler.cc b/runtime/vm/disassembler.cc |
index c63d4598dfc25f4d3743838a27017315aac1f157..986b9b2e48895ffb41e54b18d3e49c54800403b7 100644 |
--- a/runtime/vm/disassembler.cc |
+++ b/runtime/vm/disassembler.cc |
@@ -104,7 +104,8 @@ class FindAddrVisitor : public FindObjectVisitor { |
bool Disassembler::CanFindOldObject(uword addr) { |
FindAddrVisitor visitor(addr); |
NoSafepointScope no_safepoint; |
- return Isolate::Current()->heap()->FindOldObject(&visitor) != Object::null(); |
+ return Dart::vm_isolate()->heap()->FindOldObject(&visitor) != Object::null() |
+ || Isolate::Current()->heap()->FindOldObject(&visitor) != Object::null(); |
} |