Index: src/arm/code-stubs-arm.cc |
diff --git a/src/arm/code-stubs-arm.cc b/src/arm/code-stubs-arm.cc |
index 8f96fc9c16acc796c5097a739e8225c6e7608dc2..238cc6b1247a72920fd734d6b784899b70f9aef3 100644 |
--- a/src/arm/code-stubs-arm.cc |
+++ b/src/arm/code-stubs-arm.cc |
@@ -854,7 +854,9 @@ void CEntryStub::Generate(MacroAssembler* masm) { |
// Enter the exit frame that transitions from JavaScript to C++. |
FrameScope scope(masm, StackFrame::MANUAL); |
- __ EnterExitFrame(save_doubles()); |
+ __ EnterExitFrame(save_doubles(), 0, is_builtin_exit() |
+ ? StackFrame::BUILTIN_EXIT |
+ : StackFrame::EXIT); |
// Store a copy of argc in callee-saved registers for later. |
__ mov(r4, Operand(r0)); |