Index: src/s390/code-stubs-s390.cc |
diff --git a/src/s390/code-stubs-s390.cc b/src/s390/code-stubs-s390.cc |
index ab85852a4945b1dc2eeff6c5f42a34dadeb8eeec..dc3fc7897e5da55da17fecf26278ae89ab7c0860 100644 |
--- a/src/s390/code-stubs-s390.cc |
+++ b/src/s390/code-stubs-s390.cc |
@@ -897,7 +897,9 @@ void CEntryStub::Generate(MacroAssembler* masm) { |
arg_stack_space += 2; |
#endif |
- __ 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, argv in callee-saved registers for later. |
__ LoadRR(r6, r2); |