| Index: src/s390/simulator-s390.cc
|
| diff --git a/src/s390/simulator-s390.cc b/src/s390/simulator-s390.cc
|
| index 9facc18e1a25b67d21b0e0b5e9e3c5319abf1eb3..df58740d8997c8c237e7f62524d5345a72b8d579 100644
|
| --- a/src/s390/simulator-s390.cc
|
| +++ b/src/s390/simulator-s390.cc
|
| @@ -5656,6 +5656,9 @@ void Simulator::Execute() {
|
| }
|
|
|
| void Simulator::CallInternal(byte* entry, int reg_arg_count) {
|
| + // Adjust JS-based stack limit to C-based stack limit.
|
| + isolate_->stack_guard()->AdjustStackLimitForSimulator();
|
| +
|
| // Prepare to execute the code at entry
|
| if (ABI_USES_FUNCTION_DESCRIPTORS) {
|
| // entry is the function descriptor
|
| @@ -5738,6 +5741,9 @@ void Simulator::CallInternal(byte* entry, int reg_arg_count) {
|
| }
|
|
|
| intptr_t Simulator::Call(byte* entry, int argument_count, ...) {
|
| + // Adjust JS-based stack limit to C-based stack limit.
|
| + isolate_->stack_guard()->AdjustStackLimitForSimulator();
|
| +
|
| // Remember the values of non-volatile registers.
|
| int64_t r6_val = get_register(r6);
|
| int64_t r7_val = get_register(r7);
|
|
|