Index: src/heap/heap.cc |
diff --git a/src/heap/heap.cc b/src/heap/heap.cc |
index ef0a0e941aa1b4cc9e8b01f37c7d989061c20c28..3ee3f0b4df34542c5c3e863dc18268b1692f2a6f 100644 |
--- a/src/heap/heap.cc |
+++ b/src/heap/heap.cc |
@@ -5195,7 +5195,7 @@ bool Heap::ConfigureHeap(int max_semi_space_size, int max_old_space_size, |
max_semi_space_size_ = Page::kPageSize; |
} |
- if (Snapshot::HaveASnapshotToStartFrom()) { |
+ if (isolate()->snapshot_available()) { |
// If we are using a snapshot we always reserve the default amount |
// of memory for each semispace because code in the snapshot has |
// write-barrier code that relies on the size and alignment of new |