Index: src/mips/simulator-mips.cc |
diff --git a/src/mips/simulator-mips.cc b/src/mips/simulator-mips.cc |
index b49449fed0b5e5bee3a7692189b2d68c6de0b6e6..2d45739526d6e7abd8569c68b5ad1edd8348547b 100644 |
--- a/src/mips/simulator-mips.cc |
+++ b/src/mips/simulator-mips.cc |
@@ -591,7 +591,8 @@ void MipsDebugger::Debug() { |
HeapObject* obj = reinterpret_cast<HeapObject*>(*cur); |
int 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", value / 2); |