Index: runtime/vm/disassembler_x64.cc |
=================================================================== |
--- runtime/vm/disassembler_x64.cc (revision 44579) |
+++ runtime/vm/disassembler_x64.cc (working copy) |
@@ -813,7 +813,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); |