Index: src/mips64/code-stubs-mips64.cc |
diff --git a/src/mips64/code-stubs-mips64.cc b/src/mips64/code-stubs-mips64.cc |
index 824721d1e35dd359dbfe66e5b270c78cb44e339a..9277f995b24f972afce27e0e8f269fe385884a53 100644 |
--- a/src/mips64/code-stubs-mips64.cc |
+++ b/src/mips64/code-stubs-mips64.cc |
@@ -943,7 +943,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) |