Index: src/assembler.cc |
diff --git a/src/assembler.cc b/src/assembler.cc |
index 2fd59f90284cfc485b6e02451ae36687b864dbdd..21f1715859859fb5cd54107a26e06b218c43a3cd 100644 |
--- a/src/assembler.cc |
+++ b/src/assembler.cc |
@@ -1463,7 +1463,7 @@ double power_double_double(double x, double y) { |
// The checks for special cases can be dropped in ia32 because it has already |
// been done in generated code before bailing out here. |
if (std::isnan(y) || ((x == 1 || x == -1) && std::isinf(y))) { |
- return base::OS::nan_value(); |
+ return std::numeric_limits<double>::quiet_NaN(); |
} |
return std::pow(x, y); |
} |