Index: src/mips64/simulator-mips64.cc |
diff --git a/src/mips64/simulator-mips64.cc b/src/mips64/simulator-mips64.cc |
index beabc88e36adc3461de50a09f86768ca203617e3..262f3c9dd389e618d38ef3cc5e95f3bc1f5d5aa2 100644 |
--- a/src/mips64/simulator-mips64.cc |
+++ b/src/mips64/simulator-mips64.cc |
@@ -521,7 +521,8 @@ void MipsDebugger::Debug() { |
HeapObject* obj = reinterpret_cast<HeapObject*>(*cur); |
int64_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", static_cast<int>(value >> 32)); |