Index: test/unittests/compiler/instruction-selector-unittest.cc |
diff --git a/test/unittests/compiler/instruction-selector-unittest.cc b/test/unittests/compiler/instruction-selector-unittest.cc |
index f9a3f2267f204bc364c2a31370a5014290845f53..18ccaaaea5acc70f6c4acac88f4647e4f75bbfef 100644 |
--- a/test/unittests/compiler/instruction-selector-unittest.cc |
+++ b/test/unittests/compiler/instruction-selector-unittest.cc |
@@ -166,7 +166,7 @@ |
ASSERT_EQ(InstructionOperand::CONSTANT, s[0]->OutputAt(0)->kind()); |
EXPECT_FLOAT_EQ(kValue, s.ToFloat32(s[0]->OutputAt(0))); |
EXPECT_EQ(kArchRet, s[1]->arch_opcode()); |
- EXPECT_EQ(2U, s[1]->InputCount()); |
+ EXPECT_EQ(1U, s[1]->InputCount()); |
} |
@@ -178,7 +178,7 @@ |
EXPECT_EQ(kArchNop, s[0]->arch_opcode()); |
ASSERT_EQ(1U, s[0]->OutputCount()); |
EXPECT_EQ(kArchRet, s[1]->arch_opcode()); |
- EXPECT_EQ(2U, s[1]->InputCount()); |
+ EXPECT_EQ(1U, s[1]->InputCount()); |
} |
@@ -192,7 +192,7 @@ |
EXPECT_EQ(InstructionOperand::CONSTANT, s[0]->OutputAt(0)->kind()); |
EXPECT_EQ(0, s.ToInt32(s[0]->OutputAt(0))); |
EXPECT_EQ(kArchRet, s[1]->arch_opcode()); |
- EXPECT_EQ(2U, s[1]->InputCount()); |
+ EXPECT_EQ(1U, s[1]->InputCount()); |
} |
@@ -251,7 +251,7 @@ |
ASSERT_TRUE(s[0]->Output()->IsUnallocated()); |
EXPECT_EQ(kArchRet, s[1]->arch_opcode()); |
EXPECT_EQ(s.ToVreg(param), s.ToVreg(s[0]->Output())); |
- EXPECT_EQ(s.ToVreg(param), s.ToVreg(s[1]->InputAt(1))); |
+ EXPECT_EQ(s.ToVreg(param), s.ToVreg(s[1]->InputAt(0))); |
EXPECT_TRUE(s.IsReference(finish)); |
} |