Index: src/dtoa.cc |
diff --git a/src/dtoa.cc b/src/dtoa.cc |
index c50d3649f9516f795c8cb2453b7abc2c0c2f2329..f39b0b070d3035b63eacb4f9940d1d8a4983c0e1 100644 |
--- a/src/dtoa.cc |
+++ b/src/dtoa.cc |
@@ -32,8 +32,8 @@ static BignumDtoaMode DtoaToBignumDtoaMode(DtoaMode dtoa_mode) { |
void DoubleToAscii(double v, DtoaMode mode, int requested_digits, |
Vector<char> buffer, int* sign, int* length, int* point) { |
- ASSERT(!Double(v).IsSpecial()); |
- ASSERT(mode == DTOA_SHORTEST || requested_digits >= 0); |
+ DCHECK(!Double(v).IsSpecial()); |
+ DCHECK(mode == DTOA_SHORTEST || requested_digits >= 0); |
if (Double(v).Sign() < 0) { |
*sign = 1; |