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 1cdedb0f9e6c6f508efd4c1a6f11d053ac5bd5ad..e7d5f2e9203a3173a83f8a4cbe86bbfc791f02a3 100644 |
--- a/src/compiler/arm64/code-generator-arm64.cc |
+++ b/src/compiler/arm64/code-generator-arm64.cc |
@@ -1278,10 +1278,10 @@ CodeGenerator::CodeGenResult CodeGenerator::AssembleArchInstruction( |
__ Cmn(i.InputOrZeroRegister32(0), i.InputOperand2_32(1)); |
break; |
case kArm64Tst: |
- __ Tst(i.InputOrZeroRegister64(0), i.InputOperand(1)); |
+ __ Tst(i.InputOrZeroRegister64(0), i.InputOperand2_64(1)); |
break; |
case kArm64Tst32: |
- __ Tst(i.InputOrZeroRegister32(0), i.InputOperand32(1)); |
+ __ Tst(i.InputOrZeroRegister32(0), i.InputOperand2_32(1)); |
break; |
case kArm64Float32Cmp: |
if (instr->InputAt(1)->IsFPRegister()) { |