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