Index: src/arm64/simulator-arm64.cc |
diff --git a/src/arm64/simulator-arm64.cc b/src/arm64/simulator-arm64.cc |
index 99cf9a121f1634376cc3b2c8ac8b9551583ad24b..04d2070fcb81dea214c55f678296ea5b57870a0b 100644 |
--- a/src/arm64/simulator-arm64.cc |
+++ b/src/arm64/simulator-arm64.cc |
@@ -3540,7 +3540,8 @@ void Simulator::Debug() { |
HeapObject* obj = reinterpret_cast<HeapObject*>(*cur); |
int64_t value = *cur; |
Heap* current_heap = isolate_->heap(); |
- if (((value & 1) == 0) || current_heap->Contains(obj)) { |
+ if (((value & 1) == 0) || |
+ current_heap->ContainsSlow(obj->address())) { |
PrintF(" ("); |
if ((value & kSmiTagMask) == 0) { |
STATIC_ASSERT(kSmiValueSize == 32); |