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 b538fb7ff5fa00bd70e1b7580bb3fc655953b28a..a333b1b68bf2df272444e26b026c805684e03f08 100644 |
--- a/test/cctest/compiler/test-machine-operator-reducer.cc |
+++ b/test/cctest/compiler/test-machine-operator-reducer.cc |
@@ -795,7 +795,7 @@ TEST(ReduceFloat64Mul) { |
} |
} |
- double inf = V8_INFINITY; |
+ double inf = std::numeric_limits<double>::infinity(); |
R.CheckPutConstantOnRight(-inf); |
R.CheckPutConstantOnRight(-0.1); |
R.CheckPutConstantOnRight(0.1); |