Index: test/cctest/compiler/function-tester.h |
diff --git a/test/cctest/compiler/function-tester.h b/test/cctest/compiler/function-tester.h |
index a93dfc6e9869c45ebda5546fbc0e6162b978b71c..7e16eead38629e15612d37e5be1ba8cef649c959 100644 |
--- a/test/cctest/compiler/function-tester.h |
+++ b/test/cctest/compiler/function-tester.h |
@@ -137,9 +137,7 @@ |
Handle<Object> infinity() { return isolate->factory()->infinity_value(); } |
- Handle<Object> minus_infinity() { |
- return Val(-std::numeric_limits<double>::infinity()); |
- } |
+ Handle<Object> minus_infinity() { return Val(-V8_INFINITY); } |
Handle<Object> nan() { return isolate->factory()->nan_value(); } |