Index: src/ppc/simulator-ppc.cc |
diff --git a/src/ppc/simulator-ppc.cc b/src/ppc/simulator-ppc.cc |
index f0db25520ec59fb802df8d9ba4b477e8b53da7da..9a1f9e035fc9103bc9cf8053745824ca7b9252cd 100644 |
--- a/src/ppc/simulator-ppc.cc |
+++ b/src/ppc/simulator-ppc.cc |
@@ -447,7 +447,8 @@ void PPCDebugger::Debug() { |
HeapObject* obj = reinterpret_cast<HeapObject*>(*cur); |
intptr_t value = *cur; |
Heap* current_heap = sim_->isolate_->heap(); |
- if (((value & 1) == 0) || current_heap->Contains(obj)) { |
+ if (((value & 1) == 0) || |
+ current_heap->ContainsSlow(obj->address())) { |
PrintF(" ("); |
if ((value & 1) == 0) { |
PrintF("smi %d", PlatformSmiTagging::SmiToInt(obj)); |