Index: src/heap/heap.cc |
diff --git a/src/heap/heap.cc b/src/heap/heap.cc |
index e1817ba8b46435a234050b6c4db2746a52075827..033251a52899087e4510af3188ee67e6b8b46c93 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 (Snapshot::HaveASnapshotToStartFrom(isolate())) { |
// 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 |