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 648e1b923aa50c8da42b5ceb34843359df8ae8d4..e582f26d70da7e69a66be51a628212da6bb2439e 100644 |
--- a/test/cctest/compiler/test-machine-operator-reducer.cc |
+++ b/test/cctest/compiler/test-machine-operator-reducer.cc |
@@ -844,7 +844,7 @@ TEST(ReduceFloat64Mod) { |
Node* x = R.Parameter(); |
Node* zero = R.Constant<double>(0.0); |
- R.CheckFoldBinop<double>(v8::base::OS::nan_value(), x, zero); |
+ R.CheckFoldBinop<double>(std::numeric_limits<double>::quiet_NaN(), x, zero); |
CheckNans(&R); |
} |