| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include <stdarg.h> | 5 #include <stdarg.h> |
| 6 #include <limits.h> | 6 #include <limits.h> |
| 7 #include <cmath> | 7 #include <cmath> |
| 8 | 8 |
| 9 #include "v8.h" | 9 #include "src/v8.h" |
| 10 | 10 |
| 11 #include "assert-scope.h" | 11 #include "src/assert-scope.h" |
| 12 #include "conversions.h" | 12 #include "src/conversions.h" |
| 13 #include "conversions-inl.h" | 13 #include "src/conversions-inl.h" |
| 14 #include "dtoa.h" | 14 #include "src/dtoa.h" |
| 15 #include "factory.h" | 15 #include "src/factory.h" |
| 16 #include "list-inl.h" | 16 #include "src/list-inl.h" |
| 17 #include "strtod.h" | 17 #include "src/strtod.h" |
| 18 #include "utils.h" | 18 #include "src/utils.h" |
| 19 | 19 |
| 20 #ifndef _STLP_VENDOR_CSTD | 20 #ifndef _STLP_VENDOR_CSTD |
| 21 // STLPort doesn't import fpclassify into the std namespace. | 21 // STLPort doesn't import fpclassify into the std namespace. |
| 22 using std::fpclassify; | 22 using std::fpclassify; |
| 23 #endif | 23 #endif |
| 24 | 24 |
| 25 namespace v8 { | 25 namespace v8 { |
| 26 namespace internal { | 26 namespace internal { |
| 27 | 27 |
| 28 | 28 |
| (...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 494 return StringToDouble( | 494 return StringToDouble( |
| 495 unicode_cache, flat.ToOneByteVector(), flags, empty_string_val); | 495 unicode_cache, flat.ToOneByteVector(), flags, empty_string_val); |
| 496 } else { | 496 } else { |
| 497 return StringToDouble( | 497 return StringToDouble( |
| 498 unicode_cache, flat.ToUC16Vector(), flags, empty_string_val); | 498 unicode_cache, flat.ToUC16Vector(), flags, empty_string_val); |
| 499 } | 499 } |
| 500 } | 500 } |
| 501 | 501 |
| 502 | 502 |
| 503 } } // namespace v8::internal | 503 } } // namespace v8::internal |
| OLD | NEW |