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

Side by Side Diff: src/conversions.cc

Issue 2654253002: [iwyu] Include handles.h less. (Closed)
Patch Set: Created 3 years, 11 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/conversions.h ('k') | src/execution.h » ('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" 5 #include "src/conversions.h"
6 6
7 #include <limits.h> 7 #include <limits.h>
8 #include <stdarg.h> 8 #include <stdarg.h>
9 #include <cmath> 9 #include <cmath>
10 10
11 #include "src/allocation.h" 11 #include "src/allocation.h"
12 #include "src/assert-scope.h" 12 #include "src/assert-scope.h"
13 #include "src/char-predicates-inl.h" 13 #include "src/char-predicates-inl.h"
14 #include "src/codegen.h" 14 #include "src/codegen.h"
15 #include "src/conversions-inl.h" 15 #include "src/conversions-inl.h"
16 #include "src/dtoa.h" 16 #include "src/dtoa.h"
17 #include "src/factory.h" 17 #include "src/factory.h"
18 #include "src/handles.h"
18 #include "src/list-inl.h" 19 #include "src/list-inl.h"
19 #include "src/strtod.h" 20 #include "src/strtod.h"
20 #include "src/utils.h" 21 #include "src/utils.h"
21 22
22 #ifndef _STLP_VENDOR_CSTD 23 #ifndef _STLP_VENDOR_CSTD
23 // STLPort doesn't import fpclassify into the std namespace. 24 // STLPort doesn't import fpclassify into the std namespace.
24 using std::fpclassify; 25 using std::fpclassify;
25 #endif 26 #endif
26 27
27 namespace v8 { 28 namespace v8 {
(...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after
571 char reverse_buffer[kBufferSize + 1]; // Result will be /0 terminated. 572 char reverse_buffer[kBufferSize + 1]; // Result will be /0 terminated.
572 Vector<char> reverse_vector(reverse_buffer, arraysize(reverse_buffer)); 573 Vector<char> reverse_vector(reverse_buffer, arraysize(reverse_buffer));
573 const char* reverse_string = DoubleToCString(d, reverse_vector); 574 const char* reverse_string = DoubleToCString(d, reverse_vector);
574 for (int i = 0; i < length; ++i) { 575 for (int i = 0; i < length; ++i) {
575 if (static_cast<uint16_t>(reverse_string[i]) != buffer[i]) return false; 576 if (static_cast<uint16_t>(reverse_string[i]) != buffer[i]) return false;
576 } 577 }
577 return true; 578 return true;
578 } 579 }
579 } // namespace internal 580 } // namespace internal
580 } // namespace v8 581 } // namespace v8
OLDNEW
« no previous file with comments | « src/conversions.h ('k') | src/execution.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698