Index: runtime/vm/disassembler_ia32.cc |
diff --git a/runtime/vm/disassembler_ia32.cc b/runtime/vm/disassembler_ia32.cc |
index 7691be1d509ea105318cfeccf422f35340f72649..0f6dc74c4ed23fd5ca1d4b27460f3c1e97d37a3f 100644 |
--- a/runtime/vm/disassembler_ia32.cc |
+++ b/runtime/vm/disassembler_ia32.cc |
@@ -494,6 +494,7 @@ void X86Decoder::PrintAddress(uword addr) { |
reinterpret_cast<RawObject*>(addr)->IsWellFormed() && |
reinterpret_cast<RawObject*>(addr)->IsOldObject() && |
!Isolate::Current()->heap()->CodeContains(addr) && |
+ !Dart::vm_isolate()->heap()->CodeContains(addr) && |
Disassembler::CanFindOldObject(addr)) { |
NoSafepointScope no_safepoint; |
const Object& obj = Object::Handle(reinterpret_cast<RawObject*>(addr)); |
@@ -524,16 +525,6 @@ void X86Decoder::PrintAddress(uword addr) { |
Print(" [stub: "); |
Print(name_of_stub); |
Print("]"); |
- } else { |
- // Print only if jumping to entry point. |
- const Code& code = Code::Handle(Code::LookupCode(addr)); |
- if (!code.IsNull() && (code.EntryPoint() == addr)) { |
- const String& name = String::Handle(code.PrettyName()); |
- const char* name_c = name.ToCString(); |
- Print(" ["); |
- Print(name_c); |
- Print("]"); |
- } |
} |
} |
} |