Index: test/unittests/compiler/arm64/instruction-selector-arm64-unittest.cc |
diff --git a/test/unittests/compiler/arm64/instruction-selector-arm64-unittest.cc b/test/unittests/compiler/arm64/instruction-selector-arm64-unittest.cc |
index 81ed616d69850ad1b720ed4b329ed2bca6ba2c42..1f0c8ad353d319a1df7180f9efbba2f74da96faa 100644 |
--- a/test/unittests/compiler/arm64/instruction-selector-arm64-unittest.cc |
+++ b/test/unittests/compiler/arm64/instruction-selector-arm64-unittest.cc |
@@ -633,6 +633,8 @@ TEST_F(InstructionSelectorTest, AndBranchWithImmediateOnRight) { |
Stream s = m.Build(); |
ASSERT_EQ(1U, s.size()); |
EXPECT_EQ(kArm64Tst32, s[0]->arch_opcode()); |
+ EXPECT_EQ(4U, s[0]->InputCount()); |
+ EXPECT_EQ(InstructionOperand::IMMEDIATE, s[0]->InputAt(1)->kind()); |
EXPECT_EQ(kFlags_branch, s[0]->flags_mode()); |
EXPECT_EQ(kNotEqual, s[0]->flags_condition()); |
} |
@@ -687,6 +689,8 @@ TEST_F(InstructionSelectorTest, AndBranchWithImmediateOnLeft) { |
Stream s = m.Build(); |
ASSERT_EQ(1U, s.size()); |
EXPECT_EQ(kArm64Tst32, s[0]->arch_opcode()); |
+ EXPECT_EQ(4U, s[0]->InputCount()); |
+ EXPECT_EQ(InstructionOperand::IMMEDIATE, s[0]->InputAt(1)->kind()); |
ASSERT_LE(1U, s[0]->InputCount()); |
EXPECT_EQ(kFlags_branch, s[0]->flags_mode()); |
EXPECT_EQ(kNotEqual, s[0]->flags_condition()); |