Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / v8 / src / dtoa.cc
index 42a95ed..fc02aca 100644 (file)
@@ -4,16 +4,15 @@
 
 #include <cmath>
 
-#include "../include/v8stdint.h"
-#include "checks.h"
-#include "utils.h"
+#include "src/base/logging.h"
+#include "src/utils.h"
 
-#include "dtoa.h"
+#include "src/dtoa.h"
 
-#include "bignum-dtoa.h"
-#include "double.h"
-#include "fast-dtoa.h"
-#include "fixed-dtoa.h"
+#include "src/bignum-dtoa.h"
+#include "src/double.h"
+#include "src/fast-dtoa.h"
+#include "src/fixed-dtoa.h"
 
 namespace v8 {
 namespace internal {
@@ -32,8 +31,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;