Index: test/compiler-unittests/arm64/instruction-selector-arm64-unittest.cc |
diff --git a/test/compiler-unittests/arm64/instruction-selector-arm64-unittest.cc b/test/compiler-unittests/arm64/instruction-selector-arm64-unittest.cc |
index 68f0b9f46492f84ea3e0b12755395366867f3b7a..2a86924248054f530b32e426c2a8fd0857d9a453 100644 |
--- a/test/compiler-unittests/arm64/instruction-selector-arm64-unittest.cc |
+++ b/test/compiler-unittests/arm64/instruction-selector-arm64-unittest.cc |
@@ -77,7 +77,7 @@ static const DPI kMulDivInstructions[] = { |
// TODO(all): Use TEST_P, see instruction-selector-arm-unittest.cc. |
TEST_F(InstructionSelectorTest, LogicalWithParameter) { |
TRACED_FOREACH(DPI, dpi, kLogicalInstructions) { |
- StreamBuilder m(this, kMachineWord32, kMachineWord32, kMachineWord32); |
+ StreamBuilder m(this, kMachInt32, kMachInt32, kMachInt32); |
m.Return((m.*dpi.constructor)(m.Parameter(0), m.Parameter(1))); |
Stream s = m.Build(); |
ASSERT_EQ(1U, s.size()); |
@@ -89,7 +89,7 @@ TEST_F(InstructionSelectorTest, LogicalWithParameter) { |
// TODO(all): Use TEST_P, see instruction-selector-arm-unittest.cc. |
TEST_F(InstructionSelectorTest, AddSubWithParameter) { |
TRACED_FOREACH(DPI, dpi, kAddSubInstructions) { |
- StreamBuilder m(this, kMachineWord32, kMachineWord32, kMachineWord32); |
+ StreamBuilder m(this, kMachInt32, kMachInt32, kMachInt32); |
m.Return((m.*dpi.constructor)(m.Parameter(0), m.Parameter(1))); |
Stream s = m.Build(); |
ASSERT_EQ(1U, s.size()); |
@@ -106,7 +106,7 @@ TEST_F(InstructionSelectorTest, AddSubWithImmediate) { |
j != immediates.end(); ++j) { |
int32_t imm = *j; |
SCOPED_TRACE(::testing::Message() << "imm = " << imm); |
- StreamBuilder m(this, kMachineWord32, kMachineWord32); |
+ StreamBuilder m(this, kMachInt32, kMachInt32); |
m.Return((m.*dpi.constructor)(m.Parameter(0), m.Int32Constant(imm))); |
Stream s = m.Build(); |
ASSERT_EQ(1U, s.size()); |
@@ -120,7 +120,7 @@ TEST_F(InstructionSelectorTest, AddSubWithImmediate) { |
// TODO(all): Use TEST_P, see instruction-selector-arm-unittest.cc. |
TEST_F(InstructionSelectorTest, MulDivWithParameter) { |
TRACED_FOREACH(DPI, dpi, kMulDivInstructions) { |
- StreamBuilder m(this, kMachineWord32, kMachineWord32, kMachineWord32); |
+ StreamBuilder m(this, kMachInt32, kMachInt32, kMachInt32); |
m.Return((m.*dpi.constructor)(m.Parameter(0), m.Parameter(1))); |
Stream s = m.Build(); |
ASSERT_EQ(1U, s.size()); |