Index: runtime/vm/disassembler_x64.cc |
=================================================================== |
--- runtime/vm/disassembler_x64.cc (revision 44128) |
+++ runtime/vm/disassembler_x64.cc (working copy) |
@@ -809,6 +809,7 @@ |
AppendToBuffer("%#" Px "", addr); |
// Try to print as heap object or stub name |
if (((addr & kSmiTagMask) == kHeapObjectTag) && |
+ reinterpret_cast<RawObject*>(addr)->IsWellFormed() && |
reinterpret_cast<RawObject*>(addr)->IsOldObject() && |
!Isolate::Current()->heap()->CodeContains(addr) && |
Disassembler::CanFindOldObject(addr)) { |