Index: test/unittests/compiler/change-lowering-unittest.cc |
diff --git a/test/unittests/compiler/change-lowering-unittest.cc b/test/unittests/compiler/change-lowering-unittest.cc |
index 582ef0a1bb74c9ee286c6f648ccef052c71839c7..bd4978aee90a2a556933490bbed08f0874fb6d88 100644 |
--- a/test/unittests/compiler/change-lowering-unittest.cc |
+++ b/test/unittests/compiler/change-lowering-unittest.cc |
@@ -106,9 +106,9 @@ class ChangeLoweringCommonTest |
}; |
TARGET_TEST_P(ChangeLoweringCommonTest, StoreFieldSmi) { |
- FieldAccess access = {kTaggedBase, FixedArrayBase::kHeaderSize, |
- Handle<Name>::null(), Type::Any(), |
- MachineType::AnyTagged()}; |
+ FieldAccess access = { |
+ kTaggedBase, FixedArrayBase::kHeaderSize, Handle<Name>::null(), |
+ Type::Any(), MachineType::AnyTagged(), kNoWriteBarrier}; |
Node* p0 = Parameter(Type::TaggedPointer()); |
Node* p1 = Parameter(Type::TaggedSigned()); |
Node* store = graph()->NewNode(simplified()->StoreField(access), p0, p1, |
@@ -125,9 +125,9 @@ TARGET_TEST_P(ChangeLoweringCommonTest, StoreFieldSmi) { |
TARGET_TEST_P(ChangeLoweringCommonTest, StoreFieldTagged) { |
- FieldAccess access = {kTaggedBase, FixedArrayBase::kHeaderSize, |
- Handle<Name>::null(), Type::Any(), |
- MachineType::AnyTagged()}; |
+ FieldAccess access = { |
+ kTaggedBase, FixedArrayBase::kHeaderSize, Handle<Name>::null(), |
+ Type::Any(), MachineType::AnyTagged(), kFullWriteBarrier}; |
Node* p0 = Parameter(Type::TaggedPointer()); |
Node* p1 = Parameter(Type::Tagged()); |
Node* store = graph()->NewNode(simplified()->StoreField(access), p0, p1, |
@@ -144,9 +144,9 @@ TARGET_TEST_P(ChangeLoweringCommonTest, StoreFieldTagged) { |
TARGET_TEST_P(ChangeLoweringCommonTest, LoadField) { |
- FieldAccess access = {kTaggedBase, FixedArrayBase::kHeaderSize, |
- Handle<Name>::null(), Type::Any(), |
- MachineType::AnyTagged()}; |
+ FieldAccess access = { |
+ kTaggedBase, FixedArrayBase::kHeaderSize, Handle<Name>::null(), |
+ Type::Any(), MachineType::AnyTagged(), kNoWriteBarrier}; |
Node* p0 = Parameter(Type::TaggedPointer()); |
Node* load = graph()->NewNode(simplified()->LoadField(access), p0, |
graph()->start(), graph()->start()); |
@@ -163,7 +163,7 @@ TARGET_TEST_P(ChangeLoweringCommonTest, LoadField) { |
TARGET_TEST_P(ChangeLoweringCommonTest, StoreElementTagged) { |
ElementAccess access = {kTaggedBase, FixedArrayBase::kHeaderSize, Type::Any(), |
- MachineType::AnyTagged()}; |
+ MachineType::AnyTagged(), kFullWriteBarrier}; |
Node* p0 = Parameter(Type::TaggedPointer()); |
Node* p1 = Parameter(Type::Signed32()); |
Node* p2 = Parameter(Type::Tagged()); |
@@ -190,7 +190,8 @@ TARGET_TEST_P(ChangeLoweringCommonTest, StoreElementTagged) { |
TARGET_TEST_P(ChangeLoweringCommonTest, StoreElementUint8) { |
ElementAccess access = {kTaggedBase, FixedArrayBase::kHeaderSize, |
- Type::Signed32(), MachineType::Uint8()}; |
+ Type::Signed32(), MachineType::Uint8(), |
+ kNoWriteBarrier}; |
Node* p0 = Parameter(Type::TaggedPointer()); |
Node* p1 = Parameter(Type::Signed32()); |
Node* p2 = Parameter(Type::Signed32()); |
@@ -214,7 +215,7 @@ TARGET_TEST_P(ChangeLoweringCommonTest, StoreElementUint8) { |
TARGET_TEST_P(ChangeLoweringCommonTest, LoadElementTagged) { |
ElementAccess access = {kTaggedBase, FixedArrayBase::kHeaderSize, Type::Any(), |
- MachineType::AnyTagged()}; |
+ MachineType::AnyTagged(), kNoWriteBarrier}; |
Node* p0 = Parameter(Type::TaggedPointer()); |
Node* p1 = Parameter(Type::Signed32()); |
Node* load = graph()->NewNode(simplified()->LoadElement(access), p0, p1, |
@@ -238,7 +239,8 @@ TARGET_TEST_P(ChangeLoweringCommonTest, LoadElementTagged) { |
TARGET_TEST_P(ChangeLoweringCommonTest, LoadElementInt8) { |
ElementAccess access = {kTaggedBase, FixedArrayBase::kHeaderSize, |
- Type::Signed32(), MachineType::Int8()}; |
+ Type::Signed32(), MachineType::Int8(), |
+ kNoWriteBarrier}; |
Node* p0 = Parameter(Type::TaggedPointer()); |
Node* p1 = Parameter(Type::Signed32()); |
Node* load = graph()->NewNode(simplified()->LoadElement(access), p0, p1, |