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 618404be5d36df3b1399071677db318e66d3f4db..58202a61b0977704c56e1ec5b7ff4ae676a33e32 100644 |
--- a/test/cctest/compiler/test-branch-combine.cc |
+++ b/test/cctest/compiler/test-branch-combine.cc |
@@ -415,7 +415,7 @@ TEST(BranchCombineInt32CmpAllInputShapes_inverse_branch_false) { |
TEST(BranchCombineFloat64Compares) { |
double inf = V8_INFINITY; |
- double nan = v8::base::OS::nan_value(); |
+ double nan = std::numeric_limits<double>::quiet_NaN(); |
double inputs[] = {0.0, 1.0, -1.0, -inf, inf, nan}; |
int32_t eq_constant = -1733; |