Index: src/compiler/arm64/code-generator-arm64.cc |
diff --git a/src/compiler/arm64/code-generator-arm64.cc b/src/compiler/arm64/code-generator-arm64.cc |
index 511e08c02d9df37c538a2862580a52f60a04547b..26ea0a38e2893af4d6c49a7d64e78fe63965ac48 100644 |
--- a/src/compiler/arm64/code-generator-arm64.cc |
+++ b/src/compiler/arm64/code-generator-arm64.cc |
@@ -784,10 +784,10 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
__ Cmp(i.InputOrZeroRegister32(0), i.InputOperand2_32(1)); |
break; |
case kArm64Cmn: |
- __ Cmn(i.InputRegister(0), i.InputOperand(1)); |
+ __ Cmn(i.InputOrZeroRegister64(0), i.InputOperand(1)); |
break; |
case kArm64Cmn32: |
- __ Cmn(i.InputRegister32(0), i.InputOperand32(1)); |
+ __ Cmn(i.InputOrZeroRegister32(0), i.InputOperand2_32(1)); |
break; |
case kArm64Tst: |
__ Tst(i.InputRegister(0), i.InputOperand(1)); |