Index: test/unittests/compiler/common-operator-reducer-unittest.cc |
diff --git a/test/unittests/compiler/common-operator-reducer-unittest.cc b/test/unittests/compiler/common-operator-reducer-unittest.cc |
index 861cf20585b94b658c6a38f47eba4791933a0a74..d6822e8b0995f1bfc41f7463463ecdabfda1a0af 100644 |
--- a/test/unittests/compiler/common-operator-reducer-unittest.cc |
+++ b/test/unittests/compiler/common-operator-reducer-unittest.cc |
@@ -120,7 +120,7 @@ TEST_F(CommonOperatorReducerTest, PhiToFloat32Abs) { |
Node* merge = graph()->NewNode(common()->Merge(2), if_true, if_false); |
Node* phi = |
graph()->NewNode(common()->Phi(kMachFloat32, 2), vtrue, vfalse, merge); |
- Reduction r = Reduce(phi, MachineOperatorBuilder::kFloat32Abs); |
+ Reduction r = Reduce(phi); |
ASSERT_TRUE(r.Changed()); |
EXPECT_THAT(r.replacement(), IsFloat32Abs(p0)); |
} |
@@ -138,7 +138,7 @@ TEST_F(CommonOperatorReducerTest, PhiToFloat64Abs) { |
Node* merge = graph()->NewNode(common()->Merge(2), if_true, if_false); |
Node* phi = |
graph()->NewNode(common()->Phi(kMachFloat64, 2), vtrue, vfalse, merge); |
- Reduction r = Reduce(phi, MachineOperatorBuilder::kFloat64Abs); |
+ Reduction r = Reduce(phi); |
ASSERT_TRUE(r.Changed()); |
EXPECT_THAT(r.replacement(), IsFloat64Abs(p0)); |
} |
@@ -250,7 +250,7 @@ TEST_F(CommonOperatorReducerTest, SelectToFloat32Abs) { |
Node* select = |
graph()->NewNode(common()->Select(kMachFloat32), check, p0, |
graph()->NewNode(machine()->Float32Sub(), c0, p0)); |
- Reduction r = Reduce(select, MachineOperatorBuilder::kFloat32Abs); |
+ Reduction r = Reduce(select); |
ASSERT_TRUE(r.Changed()); |
EXPECT_THAT(r.replacement(), IsFloat32Abs(p0)); |
} |
@@ -263,7 +263,7 @@ TEST_F(CommonOperatorReducerTest, SelectToFloat64Abs) { |
Node* select = |
graph()->NewNode(common()->Select(kMachFloat64), check, p0, |
graph()->NewNode(machine()->Float64Sub(), c0, p0)); |
- Reduction r = Reduce(select, MachineOperatorBuilder::kFloat64Abs); |
+ Reduction r = Reduce(select); |
ASSERT_TRUE(r.Changed()); |
EXPECT_THAT(r.replacement(), IsFloat64Abs(p0)); |
} |