Index: runtime/vm/disassembler.cc |
=================================================================== |
--- runtime/vm/disassembler.cc (revision 44579) |
+++ runtime/vm/disassembler.cc (working copy) |
@@ -104,7 +104,7 @@ |
bool Disassembler::CanFindOldObject(uword addr) { |
FindAddrVisitor visitor(addr); |
- NoGCScope no_gc; |
+ NoSafepointScope no_safepoint; |
return Isolate::Current()->heap()->FindOldObject(&visitor) != Object::null(); |
} |