Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(552)

Side by Side Diff: src/conversions.cc

Issue 1285183010: Remove grab-bag includes of v8.h from everywhere. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Minor stylistic issue. Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/context-measure.cc ('k') | src/counters.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "src/conversions.h"
6
5 #include <limits.h> 7 #include <limits.h>
6 #include <stdarg.h> 8 #include <stdarg.h>
7 #include <cmath> 9 #include <cmath>
8 10
9 #include "src/v8.h"
10
11 #include "src/assert-scope.h" 11 #include "src/assert-scope.h"
12 #include "src/char-predicates-inl.h" 12 #include "src/char-predicates-inl.h"
13 #include "src/conversions-inl.h" 13 #include "src/conversions-inl.h"
14 #include "src/conversions.h"
15 #include "src/dtoa.h" 14 #include "src/dtoa.h"
16 #include "src/factory.h" 15 #include "src/factory.h"
17 #include "src/list-inl.h" 16 #include "src/list-inl.h"
18 #include "src/strtod.h" 17 #include "src/strtod.h"
19 #include "src/utils.h" 18 #include "src/utils.h"
20 19
21 #ifndef _STLP_VENDOR_CSTD 20 #ifndef _STLP_VENDOR_CSTD
22 // STLPort doesn't import fpclassify into the std namespace. 21 // STLPort doesn't import fpclassify into the std namespace.
23 using std::fpclassify; 22 using std::fpclassify;
24 #endif 23 #endif
(...skipping 530 matching lines...) Expand 10 before | Expand all | Expand 10 after
555 char reverse_buffer[kBufferSize + 1]; // Result will be /0 terminated. 554 char reverse_buffer[kBufferSize + 1]; // Result will be /0 terminated.
556 Vector<char> reverse_vector(reverse_buffer, arraysize(reverse_buffer)); 555 Vector<char> reverse_vector(reverse_buffer, arraysize(reverse_buffer));
557 const char* reverse_string = DoubleToCString(d, reverse_vector); 556 const char* reverse_string = DoubleToCString(d, reverse_vector);
558 for (int i = 0; i < length; ++i) { 557 for (int i = 0; i < length; ++i) {
559 if (static_cast<uint16_t>(reverse_string[i]) != buffer[i]) return false; 558 if (static_cast<uint16_t>(reverse_string[i]) != buffer[i]) return false;
560 } 559 }
561 return true; 560 return true;
562 } 561 }
563 } // namespace internal 562 } // namespace internal
564 } // namespace v8 563 } // namespace v8
OLDNEW
« no previous file with comments | « src/context-measure.cc ('k') | src/counters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698