Index: test/cctest/compiler/test-branch-combine.cc |
diff --git a/test/cctest/compiler/test-branch-combine.cc b/test/cctest/compiler/test-branch-combine.cc |
index cd3472d6bb1448f6ba1d952b294f90eeb621035c..48694a83e0bc390fc4b4ab46579f1b68232ec303 100644 |
--- a/test/cctest/compiler/test-branch-combine.cc |
+++ b/test/cctest/compiler/test-branch-combine.cc |
@@ -414,7 +414,7 @@ TEST(BranchCombineInt32CmpAllInputShapes_inverse_branch_false) { |
TEST(BranchCombineFloat64Compares) { |
- double inf = V8_INFINITY; |
+ double inf = std::numeric_limits<double>::infinity(); |
double nan = v8::base::OS::nan_value(); |
double inputs[] = {0.0, 1.0, -1.0, -inf, inf, nan}; |