Index: test/cctest/compiler/test-machine-operator-reducer.cc |
diff --git a/test/cctest/compiler/test-machine-operator-reducer.cc b/test/cctest/compiler/test-machine-operator-reducer.cc |
index c79a96a0941d595ee584ec9151d89e441d332d52..f7bba5c4ab836d1803611e59b55dd19646f450bc 100644 |
--- a/test/cctest/compiler/test-machine-operator-reducer.cc |
+++ b/test/cctest/compiler/test-machine-operator-reducer.cc |
@@ -630,7 +630,7 @@ TEST(ReduceLoadStore) { |
Node* base = R.Constant<int32_t>(11); |
Node* index = R.Constant<int32_t>(4); |
- Node* load = R.graph.NewNode(R.machine.Load(kMachineWord32), base, index); |
+ Node* load = R.graph.NewNode(R.machine.Load(kMachInt32), base, index); |
{ |
MachineOperatorReducer reducer(&R.graph); |
@@ -639,8 +639,8 @@ TEST(ReduceLoadStore) { |
} |
{ |
- Node* store = R.graph.NewNode( |
- R.machine.Store(kMachineWord32, kNoWriteBarrier), base, index, load); |
+ Node* store = R.graph.NewNode(R.machine.Store(kMachInt32, kNoWriteBarrier), |
+ base, index, load); |
MachineOperatorReducer reducer(&R.graph); |
Reduction reduction = reducer.Reduce(store); |
CHECK(!reduction.Changed()); // stores should not be reduced. |