Index: src/compiler/s390/code-generator-s390.cc |
diff --git a/src/compiler/s390/code-generator-s390.cc b/src/compiler/s390/code-generator-s390.cc |
index bcd61eae7055881f747b60fbcdf5f0c1099e58c6..c375c376f78a70c62b34690471d102b34d744bd5 100644 |
--- a/src/compiler/s390/code-generator-s390.cc |
+++ b/src/compiler/s390/code-generator-s390.cc |
@@ -1034,7 +1034,8 @@ void CodeGenerator::AssemblePopArgumentsAdaptorFrame(Register args_reg, |
// Check if current frame is an arguments adaptor frame. |
__ LoadP(scratch1, MemOperand(fp, StandardFrameConstants::kContextOffset)); |
- __ CmpSmiLiteral(scratch1, Smi::FromInt(StackFrame::ARGUMENTS_ADAPTOR), r0); |
+ __ CmpP(scratch1, |
+ Operand(StackFrame::TypeToMarker(StackFrame::ARGUMENTS_ADAPTOR))); |
__ bne(&done); |
// Load arguments count from current arguments adaptor frame (note, it |