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 45b63b15843f5bdc33a9b1cb2bda30a83a1fbcad..569fe87f583a12b6f811cf3b8bdb3431b85fe44a 100644 |
--- a/test/cctest/compiler/test-machine-operator-reducer.cc |
+++ b/test/cctest/compiler/test-machine-operator-reducer.cc |
@@ -53,7 +53,6 @@ class ReducerTester : public HandleAndZoneScope { |
: isolate(main_isolate()), |
binop(NULL), |
unop(NULL), |
- machine(main_zone()), |
common(main_zone()), |
graph(main_zone()), |
typer(main_zone()), |
@@ -667,8 +666,9 @@ TEST(ReduceLoadStore) { |
} |
{ |
- Node* store = R.graph.NewNode(R.machine.Store(kMachInt32, kNoWriteBarrier), |
- base, index, load); |
+ Node* store = R.graph.NewNode( |
+ R.machine.Store(StoreRepresentation(kMachInt32, kNoWriteBarrier)), base, |
+ index, load); |
MachineOperatorReducer reducer(&R.jsgraph); |
Reduction reduction = reducer.Reduce(store); |
CHECK(!reduction.Changed()); // stores should not be reduced. |