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