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

Side by Side Diff: src/utils.cc

Issue 1297583002: Remove grab-bag includes of v8.h from several files. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_cleanup-includes-heap-1
Patch Set: Fix Windows compilation. 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/strtod.cc ('k') | src/variables.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/utils.h"
6
5 #include <stdarg.h> 7 #include <stdarg.h>
6 #include <sys/stat.h> 8 #include <sys/stat.h>
7 9
8 #include "src/v8.h"
9
10 #include "src/base/functional.h" 10 #include "src/base/functional.h"
11 #include "src/base/logging.h" 11 #include "src/base/logging.h"
12 #include "src/base/platform/platform.h" 12 #include "src/base/platform/platform.h"
13 #include "src/utils.h"
14 13
15 namespace v8 { 14 namespace v8 {
16 namespace internal { 15 namespace internal {
17 16
18 17
19 SimpleStringBuilder::SimpleStringBuilder(int size) { 18 SimpleStringBuilder::SimpleStringBuilder(int size) {
20 buffer_ = Vector<char>::New(size); 19 buffer_ = Vector<char>::New(size);
21 position_ = 0; 20 position_ = 0;
22 } 21 }
23 22
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after
430 if (u.bits.exp == 0) { 429 if (u.bits.exp == 0) {
431 // Detect +0, and -0 for IEEE double precision floating point. 430 // Detect +0, and -0 for IEEE double precision floating point.
432 if ((u.bits.man_low | u.bits.man_high) == 0) return false; 431 if ((u.bits.man_low | u.bits.man_high) == 0) return false;
433 } 432 }
434 return true; 433 return true;
435 } 434 }
436 435
437 436
438 } // namespace internal 437 } // namespace internal
439 } // namespace v8 438 } // namespace v8
OLDNEW
« no previous file with comments | « src/strtod.cc ('k') | src/variables.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698