Index: src/builtins/s390/builtins-s390.cc |
diff --git a/src/builtins/s390/builtins-s390.cc b/src/builtins/s390/builtins-s390.cc |
index 7c0a9ece07b9df63dba0820c5df9ceaaea5834a4..f632b6a1914e0e9c0caa3efd9e910f851a57edd4 100644 |
--- a/src/builtins/s390/builtins-s390.cc |
+++ b/src/builtins/s390/builtins-s390.cc |
@@ -2218,7 +2218,9 @@ void Builtins::Generate_CallForwardVarargs(MacroAssembler* masm, |
__ bind(&arguments_done); |
Label stack_empty, stack_done, stack_overflow; |
+#if !V8_TARGET_ARCH_S390X |
__ SmiUntag(r2); |
+#endif |
__ SubP(r2, r2, r4); |
__ CmpP(r2, Operand::Zero()); |
__ ble(&stack_empty); |