Index: test/cctest/compiler/test-simplified-lowering.cc |
diff --git a/test/cctest/compiler/test-simplified-lowering.cc b/test/cctest/compiler/test-simplified-lowering.cc |
index a72f8bb2bbd1f05495a2190352bf7f88a7334963..2bd3eec46345aac02699d52451fe287d1490e09d 100644 |
--- a/test/cctest/compiler/test-simplified-lowering.cc |
+++ b/test/cctest/compiler/test-simplified-lowering.cc |
@@ -1463,6 +1463,20 @@ TEST(LowerStoreField_to_store) { |
} |
CHECK_EQ(kMachineReps[i], rep.machine_type()); |
} |
+ |
+ if (t.machine()->Is64()) { |
+ FieldAccess access = {kTaggedBase, FixedArrayBase::kHeaderSize, |
+ Handle<Name>::null(), Type::Any(), kMachAnyTagged}; |
+ Node* val = t.graph()->NewNode(t.simplified()->ChangeInt32ToTagged(), t.p0); |
+ Node* store = t.graph()->NewNode(t.simplified()->StoreField(access), t.p0, |
+ val, t.start, t.start); |
+ t.Effect(store); |
+ t.Lower(); |
+ CHECK_EQ(IrOpcode::kStore, store->opcode()); |
+ CHECK_EQ(val, store->InputAt(2)); |
+ StoreRepresentation rep = OpParameter<StoreRepresentation>(store); |
+ CHECK_EQ(kNoWriteBarrier, rep.write_barrier_kind()); |
+ } |
} |