Index: src/heap.cc |
diff --git a/src/heap.cc b/src/heap.cc |
index 868cd65c7b17bbd45f96fd95d244517b685f9411..96c27a9eb650f625b39cad1836aa0b338d97b209 100644 |
--- a/src/heap.cc |
+++ b/src/heap.cc |
@@ -4965,7 +4965,7 @@ bool Heap::ConfigureHeap(int max_semi_space_size, |
max_semi_space_size_ = Page::kPageSize; |
} |
- if (Snapshot::HaveASnapshotToStartFrom()) { |
+ if (Snapshot::IsEnabled()) { |
// 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 |