Index: test/cctest/compiler/test-run-machops.cc |
diff --git a/test/cctest/compiler/test-run-machops.cc b/test/cctest/compiler/test-run-machops.cc |
index 7dc8fe1973c2e2485c45db991721dbb3c4cbb0a2..0c1175051d7c41f5626ee2fab63f13ea2e9e942e 100644 |
--- a/test/cctest/compiler/test-run-machops.cc |
+++ b/test/cctest/compiler/test-run-machops.cc |
@@ -3604,8 +3604,7 @@ TEST(RunFloat32Sub) { |
TEST(RunFloat32Neg) { |
BufferedRawMachineAssemblerTester<float> m(MachineType::Float32()); |
- if (!m.machine()->Float32Neg().IsSupported()) return; |
- m.Return(m.AddNode(m.machine()->Float32Neg().op(), m.Parameter(0))); |
+ m.Return(m.AddNode(m.machine()->Float32Neg(), m.Parameter(0))); |
FOR_FLOAT32_INPUTS(i) { CHECK_FLOAT_EQ(-0.0f - *i, m.Call(*i)); } |
} |
@@ -3654,8 +3653,7 @@ TEST(RunFloat64Sub) { |
TEST(RunFloat64Neg) { |
BufferedRawMachineAssemblerTester<double> m(MachineType::Float64()); |
- if (!m.machine()->Float64Neg().IsSupported()) return; |
- m.Return(m.AddNode(m.machine()->Float64Neg().op(), m.Parameter(0))); |
+ m.Return(m.AddNode(m.machine()->Float64Neg(), m.Parameter(0))); |
FOR_FLOAT64_INPUTS(i) { CHECK_FLOAT_EQ(-0.0 - *i, m.Call(*i)); } |
} |