| Index: src/heap/heap.cc | 
| diff --git a/src/heap/heap.cc b/src/heap/heap.cc | 
| index 5c2d5786099bff15cd894eea21f08693bd4dc0cf..b1964bab5ed23b9c23872bd922cce621f9fcd0fb 100644 | 
| --- a/src/heap/heap.cc | 
| +++ b/src/heap/heap.cc | 
| @@ -3991,8 +3991,7 @@ AllocationResult Heap::AllocateUninitializedFixedDoubleArray( | 
| AllocationResult Heap::AllocateRawFixedDoubleArray(int length, | 
| PretenureFlag pretenure) { | 
| if (length < 0 || length > FixedDoubleArray::kMaxLength) { | 
| -    v8::internal::Heap::FatalProcessOutOfMemory("invalid array length", | 
| -                                                kDoubleAligned); | 
| +    v8::internal::Heap::FatalProcessOutOfMemory("invalid array length", true); | 
| } | 
| int size = FixedDoubleArray::SizeFor(length); | 
| AllocationSpace space = SelectSpace(pretenure); | 
| @@ -5623,9 +5622,8 @@ void Heap::CompactRetainedMaps(ArrayList* retained_maps) { | 
| if (new_length != length) retained_maps->SetLength(new_length); | 
| } | 
|  | 
| - | 
| -void Heap::FatalProcessOutOfMemory(const char* location, bool take_snapshot) { | 
| -  v8::internal::V8::FatalProcessOutOfMemory(location, take_snapshot); | 
| +void Heap::FatalProcessOutOfMemory(const char* location, bool is_heap_oom) { | 
| +  v8::internal::V8::FatalProcessOutOfMemory(location, is_heap_oom); | 
| } | 
|  | 
| #ifdef DEBUG | 
|  |