Index: src/mips/code-stubs-mips.cc |
diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc |
index a4dfbb6d7cfd54f9aaaee76b1cba7da13bbdf65b..20f0e335ac2ea9828a7df04707856f9347ce74bb 100644 |
--- a/src/mips/code-stubs-mips.cc |
+++ b/src/mips/code-stubs-mips.cc |
@@ -946,7 +946,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); |
// s0: number of arguments including receiver (C callee-saved) |
// s1: pointer to first argument (C callee-saved) |