| Index: src/heap/heap.h
|
| diff --git a/src/heap/heap.h b/src/heap/heap.h
|
| index 0a90c8f7da5d7887375a607041c0bfcb5d8d59f1..47535e1b589a087f7579c7c22d82ffa728a2ef42 100644
|
| --- a/src/heap/heap.h
|
| +++ b/src/heap/heap.h
|
| @@ -822,7 +822,7 @@ class Heap {
|
|
|
| // TODO(hpayer): There is still a missmatch between capacity and actual
|
| // committed memory size.
|
| - bool CanExpandOldGeneration(int size) {
|
| + bool CanExpandOldGeneration(int size = 0) {
|
| if (force_oom_) return false;
|
| return (CommittedOldGenerationMemory() + size) < MaxOldGenerationSize();
|
| }
|
|
|