Index: src/crankshaft/s390/lithium-codegen-s390.cc |
diff --git a/src/crankshaft/s390/lithium-codegen-s390.cc b/src/crankshaft/s390/lithium-codegen-s390.cc |
index bbc8f839451389c73bc629f623f4447938815768..81091ecc8c8524ab343469878e61231526f56fca 100644 |
--- a/src/crankshaft/s390/lithium-codegen-s390.cc |
+++ b/src/crankshaft/s390/lithium-codegen-s390.cc |
@@ -3054,7 +3054,8 @@ void LCodeGen::DoArgumentsElements(LArgumentsElements* instr) { |
__ LoadP( |
result, |
MemOperand(scratch, CommonFrameConstants::kContextOrFrameTypeOffset)); |
- __ CmpSmiLiteral(result, Smi::FromInt(StackFrame::ARGUMENTS_ADAPTOR), r0); |
+ __ LoadSmiLiteral(r0, Smi::FromInt(StackFrame::ARGUMENTS_ADAPTOR)); |
+ __ CmpP(result, r0); |
// Result is the frame pointer for the frame if not adapted and for the real |
// frame below the adaptor frame if adapted. |