Index: src/ppc/code-stubs-ppc.cc |
diff --git a/src/ppc/code-stubs-ppc.cc b/src/ppc/code-stubs-ppc.cc |
index 401aa4187ed9f2b556e94f134415af2f324d664e..b6cfec77b8b656f8173fef5c57847652ebbdd49d 100644 |
--- a/src/ppc/code-stubs-ppc.cc |
+++ b/src/ppc/code-stubs-ppc.cc |
@@ -928,7 +928,9 @@ void CEntryStub::Generate(MacroAssembler* masm) { |
arg_stack_space += result_size(); |
} |
- __ EnterExitFrame(save_doubles(), arg_stack_space); |
+ __ EnterExitFrame(save_doubles(), arg_stack_space, is_builtin_exit() |
+ ? StackFrame::BUILTIN_EXIT |
+ : StackFrame::EXIT); |
// Store a copy of argc in callee-saved registers for later. |
__ mr(r14, r3); |