Index: runtime/vm/disassembler.cc |
diff --git a/runtime/vm/disassembler.cc b/runtime/vm/disassembler.cc |
index 044e1000247fbd6b2c144ac0d25272c2139fbc28..5b85dca36514135611b5a0773d403ef678fcbcf0 100644 |
--- a/runtime/vm/disassembler.cc |
+++ b/runtime/vm/disassembler.cc |
@@ -101,6 +101,7 @@ class FindAddrVisitor : public FindObjectVisitor { |
bool Disassembler::CanFindOldObject(uword addr) { |
FindAddrVisitor visitor(addr); |
+ NoGCScope no_gc; |
return Isolate::Current()->heap()->FindOldObject(&visitor) != Object::null(); |
} |