Index: test/cctest/compiler/test-run-jsops.cc |
diff --git a/test/cctest/compiler/test-run-jsops.cc b/test/cctest/compiler/test-run-jsops.cc |
index 9e423d5f97e408cb438b13005e17a814730b6eb3..eb39760ff7ea945d438827230edee4b20672ebaa 100644 |
--- a/test/cctest/compiler/test-run-jsops.cc |
+++ b/test/cctest/compiler/test-run-jsops.cc |
@@ -57,8 +57,8 @@ |
T.CheckCall(2, 8, 4); |
T.CheckCall(2.1, 8.4, 4); |
- T.CheckCall(std::numeric_limits<double>::infinity(), 8, 0); |
- T.CheckCall(-std::numeric_limits<double>::infinity(), -8, 0); |
+ T.CheckCall(V8_INFINITY, 8, 0); |
+ T.CheckCall(-V8_INFINITY, -8, 0); |
T.CheckCall(T.infinity(), T.Val(8), T.Val("0")); |
T.CheckCall(T.minus_infinity(), T.Val("-8"), T.Val(0.0)); |
T.CheckCall(T.Val(1.5), T.Val("3"), T.Val("2")); |