Index: src/arm/code-stubs-arm.cc |
diff --git a/src/arm/code-stubs-arm.cc b/src/arm/code-stubs-arm.cc |
index fe2095a074a79bbc3954f3a4803bb033d903e378..832296b2738f935d33ea1cd6d43b6ad9bc870b0b 100644 |
--- a/src/arm/code-stubs-arm.cc |
+++ b/src/arm/code-stubs-arm.cc |
@@ -1685,6 +1685,12 @@ void CEntryStub::Generate(MacroAssembler* masm) { |
true, |
true); |
+ { FrameScope scope(masm, StackFrame::MANUAL); |
+ __ PrepareCallCFunction(0, r0); |
+ __ CallCFunction( |
+ ExternalReference::out_of_memory_function(masm->isolate()), 0, 0); |
+ } |
+ |
__ bind(&throw_termination_exception); |
__ ThrowUncatchable(r0); |