Index: test/unittests/compiler/arm64/instruction-selector-arm64-unittest.cc |
diff --git a/test/unittests/compiler/arm64/instruction-selector-arm64-unittest.cc b/test/unittests/compiler/arm64/instruction-selector-arm64-unittest.cc |
index 3bf2e05ffa4d2a2db0681e25bf77c4a1be31e734..f66c60546d6e5ab422839444442a8be3bc33c287 100644 |
--- a/test/unittests/compiler/arm64/instruction-selector-arm64-unittest.cc |
+++ b/test/unittests/compiler/arm64/instruction-selector-arm64-unittest.cc |
@@ -2156,7 +2156,8 @@ TEST_P(InstructionSelectorMemoryAccessTest, LoadWithImmediateIndex) { |
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), m.Parameter(2)); |
+ StoreRepresentation store_rep(memacc.type, kNoWriteBarrier); |
+ m.Store(store_rep, m.Parameter(0), m.Parameter(1), m.Parameter(2)); |
m.Return(m.Int32Constant(0)); |
Stream s = m.Build(); |
ASSERT_EQ(1U, s.size()); |
@@ -2171,8 +2172,8 @@ TEST_P(InstructionSelectorMemoryAccessTest, StoreWithImmediateIndex) { |
const MemoryAccess 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()); |