Index: test/unittests/compiler/machine-operator-reducer-unittest.cc |
diff --git a/test/unittests/compiler/machine-operator-reducer-unittest.cc b/test/unittests/compiler/machine-operator-reducer-unittest.cc |
index 34b3792c911a3f806fccc50692d1fe2bc7387a63..2feba2ef7f56f7f699e386b340d25dec2376a2a5 100644 |
--- a/test/unittests/compiler/machine-operator-reducer-unittest.cc |
+++ b/test/unittests/compiler/machine-operator-reducer-unittest.cc |
@@ -1560,7 +1560,7 @@ TEST_F(MachineOperatorReducerTest, Float64LessThanOrEqualWithFloat32Constant) { |
TEST_F(MachineOperatorReducerTest, StoreRepWord8WithWord32And) { |
- const StoreRepresentation rep(MachineType::Uint8(), kNoWriteBarrier); |
+ const StoreRepresentation rep(MachineRepresentation::kWord8, kNoWriteBarrier); |
Node* const base = Parameter(0); |
Node* const index = Parameter(1); |
Node* const value = Parameter(2); |
@@ -1582,7 +1582,7 @@ TEST_F(MachineOperatorReducerTest, StoreRepWord8WithWord32And) { |
TEST_F(MachineOperatorReducerTest, StoreRepWord8WithWord32SarAndWord32Shl) { |
- const StoreRepresentation rep(MachineType::Uint8(), kNoWriteBarrier); |
+ const StoreRepresentation rep(MachineRepresentation::kWord8, kNoWriteBarrier); |
Node* const base = Parameter(0); |
Node* const index = Parameter(1); |
Node* const value = Parameter(2); |
@@ -1606,7 +1606,8 @@ TEST_F(MachineOperatorReducerTest, StoreRepWord8WithWord32SarAndWord32Shl) { |
TEST_F(MachineOperatorReducerTest, StoreRepWord16WithWord32And) { |
- const StoreRepresentation rep(MachineType::Uint16(), kNoWriteBarrier); |
+ const StoreRepresentation rep(MachineRepresentation::kWord16, |
+ kNoWriteBarrier); |
Node* const base = Parameter(0); |
Node* const index = Parameter(1); |
Node* const value = Parameter(2); |
@@ -1628,7 +1629,8 @@ TEST_F(MachineOperatorReducerTest, StoreRepWord16WithWord32And) { |
TEST_F(MachineOperatorReducerTest, StoreRepWord16WithWord32SarAndWord32Shl) { |
- const StoreRepresentation rep(MachineType::Uint16(), kNoWriteBarrier); |
+ const StoreRepresentation rep(MachineRepresentation::kWord16, |
+ kNoWriteBarrier); |
Node* const base = Parameter(0); |
Node* const index = Parameter(1); |
Node* const value = Parameter(2); |