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