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 "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 Loading... |
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 |
OLD | NEW |