Index: runtime/vm/disassembler_ia32.cc |
=================================================================== |
--- runtime/vm/disassembler_ia32.cc (revision 44579) |
+++ runtime/vm/disassembler_ia32.cc (working copy) |
@@ -497,7 +497,7 @@ |
reinterpret_cast<RawObject*>(addr)->IsOldObject() && |
!Isolate::Current()->heap()->CodeContains(addr) && |
Disassembler::CanFindOldObject(addr)) { |
- NoGCScope no_gc; |
+ NoSafepointScope no_safepoint; |
const Object& obj = Object::Handle(reinterpret_cast<RawObject*>(addr)); |
if (obj.IsArray()) { |
const Array& arr = Array::Cast(obj); |