Index: test/unittests/compiler/arm/instruction-selector-arm-unittest.cc |
diff --git a/test/unittests/compiler/arm/instruction-selector-arm-unittest.cc b/test/unittests/compiler/arm/instruction-selector-arm-unittest.cc |
index 162d82875d5d8a63655fdcb0cd34ebb715ef1fe5..62abeda1b5403c19cdee204fb16c95d23438681e 100644 |
--- a/test/unittests/compiler/arm/instruction-selector-arm-unittest.cc |
+++ b/test/unittests/compiler/arm/instruction-selector-arm-unittest.cc |
@@ -1367,8 +1367,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), m.Parameter(2), |
- kNoWriteBarrier); |
+ m.Store(memacc.type.representation(), m.Parameter(0), m.Parameter(1), |
+ m.Parameter(2), kNoWriteBarrier); |
m.Return(m.Int32Constant(0)); |
Stream s = m.Build(); |
ASSERT_EQ(1U, s.size()); |
@@ -1384,8 +1384,8 @@ TEST_P(InstructionSelectorMemoryAccessTest, 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()); |