| Index: src/spaces.h
|
| diff --git a/src/spaces.h b/src/spaces.h
|
| index b11bc1e22d1f8ccb8698e2bde39e440ccab120b3..96a1a90427f3a5cd8cce00f629d9bd596993890c 100644
|
| --- a/src/spaces.h
|
| +++ b/src/spaces.h
|
| @@ -985,8 +985,8 @@ class CodeRange {
|
| // Finds a block on the allocation list that contains at least the
|
| // requested amount of memory. If none is found, sorts and merges
|
| // the existing free memory blocks, and searches again.
|
| - // If none can be found, terminates V8 with FatalProcessOutOfMemory.
|
| - void GetNextAllocationBlock(size_t requested);
|
| + // If none can be found, returns false.
|
| + bool GetNextAllocationBlock(size_t requested);
|
| // Compares the start addresses of two free blocks.
|
| static int CompareFreeBlockAddress(const FreeBlock* left,
|
| const FreeBlock* right);
|
|
|