Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index 2c0cab0ce9f9a4aa5ed4be8cd60544d210d012ac..9f374111225ac63e6fd5c8ad0100e9f365713800 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -12950,7 +12950,7 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_DebugConstructedBy) { |
} |
FixedArray* instances = FixedArray::cast(object); |
- ASSERT(HEAP->IsHeapIterable()); |
+ ASSERT(isolate->heap()->IsHeapIterable()); |
// Fill the referencing objects. |
HeapIterator heap_iterator2(heap); |
count = DebugConstructedBy(&heap_iterator2, |