Index: test/unittests/compiler/mips/instruction-selector-mips-unittest.cc |
diff --git a/test/unittests/compiler/mips/instruction-selector-mips-unittest.cc b/test/unittests/compiler/mips/instruction-selector-mips-unittest.cc |
index b88f4695c87e367355c65c6e9ce369cc61e8da8b..1f075780c08682ddfdd43a9cc0f0215b72a527f6 100644 |
--- a/test/unittests/compiler/mips/instruction-selector-mips-unittest.cc |
+++ b/test/unittests/compiler/mips/instruction-selector-mips-unittest.cc |
@@ -646,7 +646,8 @@ TEST_P(InstructionSelectorMemoryAccessTest, LoadWithParameters) { |
TEST_P(InstructionSelectorMemoryAccessTest, StoreWithParameters) { |
const MemoryAccess memacc = GetParam(); |
StreamBuilder m(this, kMachInt32, kMachPtr, kMachInt32, memacc.type); |
- m.Store(memacc.type, m.Parameter(0), m.Parameter(1)); |
+ StoreRepresentation store_rep(memacc.type, kNoWriteBarrier); |
+ m.Store(store_rep, m.Parameter(0), m.Parameter(1)); |
m.Return(m.Int32Constant(0)); |
Stream s = m.Build(); |
ASSERT_EQ(1U, s.size()); |
@@ -696,8 +697,8 @@ TEST_P(InstructionSelectorMemoryAccessImmTest, StoreWithImmediateIndex) { |
const MemoryAccessImm memacc = GetParam(); |
TRACED_FOREACH(int32_t, index, memacc.immediates) { |
StreamBuilder m(this, kMachInt32, kMachPtr, memacc.type); |
- m.Store(memacc.type, m.Parameter(0), m.Int32Constant(index), |
- m.Parameter(1)); |
+ StoreRepresentation store_rep(memacc.type, kNoWriteBarrier); |
+ m.Store(store_rep, m.Parameter(0), m.Int32Constant(index), m.Parameter(1)); |
m.Return(m.Int32Constant(0)); |
Stream s = m.Build(); |
ASSERT_EQ(1U, s.size()); |
@@ -748,8 +749,8 @@ TEST_P(InstructionSelectorMemoryAccessImmMoreThan16bitTest, |
const MemoryAccessImm1 memacc = GetParam(); |
TRACED_FOREACH(int32_t, index, memacc.immediates) { |
StreamBuilder m(this, kMachInt32, kMachPtr, memacc.type); |
- m.Store(memacc.type, m.Parameter(0), m.Int32Constant(index), |
- m.Parameter(1)); |
+ StoreRepresentation store_rep(memacc.type, kNoWriteBarrier); |
+ m.Store(store_rep, m.Parameter(0), m.Int32Constant(index), m.Parameter(1)); |
m.Return(m.Int32Constant(0)); |
Stream s = m.Build(); |
ASSERT_EQ(2U, s.size()); |