diff --git a/runtime/third_party/double-conversion/AUTHORS b/runtime/third_party/double-conversion/AUTHORS index 3637e6cd3c9..8a170b5072f 100644 --- a/runtime/third_party/double-conversion/AUTHORS +++ b/runtime/third_party/double-conversion/AUTHORS @@ -7,3 +7,4 @@ Google Inc. Jeff Muizelaar +Martin Olsson diff --git a/runtime/third_party/double-conversion/README.dart b/runtime/third_party/double-conversion/README.dart index 5871e386826..347418baad4 100644 --- a/runtime/third_party/double-conversion/README.dart +++ b/runtime/third_party/double-conversion/README.dart @@ -1,5 +1,5 @@ URL: http://code.google.com/p/double-conversion/ -Version: d7a1ee5a309c ('Merge in "Reduce static" branch.'). +Version: c8b89fb5c5b4 ('Merge in branch unused.'). License: BSD License File: LICENSE @@ -9,5 +9,3 @@ for v8. Local Modifications: Removed the test directory, the Makefile and the scons-files. -Wrapped ASSERT, UNIMPLEMENTED and UNREACHABLE macros into #ifndef. -Changed memcpy to memmove. diff --git a/runtime/third_party/double-conversion/src/double-conversion.cc b/runtime/third_party/double-conversion/src/double-conversion.cc index 944ddf798ea..efc1341db2d 100644 --- a/runtime/third_party/double-conversion/src/double-conversion.cc +++ b/runtime/third_party/double-conversion/src/double-conversion.cc @@ -604,7 +604,6 @@ double StringToDoubleConverter::StringToDouble( int significant_digits = 0; int insignificant_digits = 0; bool nonzero_digit_dropped = false; - bool fractional_part = false; bool sign = false; @@ -748,10 +747,8 @@ double StringToDoubleConverter::StringToDouble( } } - // We don't emit a '.', but adjust the exponent instead. - fractional_part = true; - // There is a fractional part. + // We don't emit a '.', but adjust the exponent instead. while (*current >= '0' && *current <= '9') { if (significant_digits < kMaxSignificantDigits) { ASSERT(buffer_pos < kBufferSize);