Index: test/unittests/compiler/mips64/instruction-selector-mips64-unittest.cc |
diff --git a/test/unittests/compiler/mips64/instruction-selector-mips64-unittest.cc b/test/unittests/compiler/mips64/instruction-selector-mips64-unittest.cc |
index 7d50c0789cf1a2b3f15c2d39dd684ebb0d05511d..b88d62341b82cc05cf5c70cbd331c806cab1e1a0 100644 |
--- a/test/unittests/compiler/mips64/instruction-selector-mips64-unittest.cc |
+++ b/test/unittests/compiler/mips64/instruction-selector-mips64-unittest.cc |
@@ -1105,7 +1105,8 @@ TEST_P(InstructionSelectorMemoryAccessTest, StoreWithParameters) { |
const MemoryAccess memacc = GetParam(); |
StreamBuilder m(this, MachineType::Int32(), MachineType::Pointer(), |
MachineType::Int32(), memacc.type); |
- m.Store(memacc.type, m.Parameter(0), m.Parameter(1), kNoWriteBarrier); |
+ m.Store(memacc.type.representation(), m.Parameter(0), m.Parameter(1), |
+ kNoWriteBarrier); |
m.Return(m.Int32Constant(0)); |
Stream s = m.Build(); |
ASSERT_EQ(1U, s.size()); |
@@ -1154,8 +1155,8 @@ TEST_P(InstructionSelectorMemoryAccessImmTest, StoreWithImmediateIndex) { |
TRACED_FOREACH(int32_t, index, memacc.immediates) { |
StreamBuilder m(this, MachineType::Int32(), MachineType::Pointer(), |
memacc.type); |
- m.Store(memacc.type, m.Parameter(0), m.Int32Constant(index), m.Parameter(1), |
- kNoWriteBarrier); |
+ m.Store(memacc.type.representation(), m.Parameter(0), |
+ m.Int32Constant(index), m.Parameter(1), kNoWriteBarrier); |
m.Return(m.Int32Constant(0)); |
Stream s = m.Build(); |
ASSERT_EQ(1U, s.size()); |
@@ -1204,8 +1205,8 @@ TEST_P(InstructionSelectorMemoryAccessImmMoreThan16bitTest, |
TRACED_FOREACH(int32_t, index, memacc.immediates) { |
StreamBuilder m(this, MachineType::Int32(), MachineType::Pointer(), |
memacc.type); |
- m.Store(memacc.type, m.Parameter(0), m.Int32Constant(index), m.Parameter(1), |
- kNoWriteBarrier); |
+ m.Store(memacc.type.representation(), m.Parameter(0), |
+ m.Int32Constant(index), m.Parameter(1), kNoWriteBarrier); |
m.Return(m.Int32Constant(0)); |
Stream s = m.Build(); |
ASSERT_EQ(2U, s.size()); |