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