OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 #ifndef V8_UTILS_H_ | 5 #ifndef V8_UTILS_H_ |
6 #define V8_UTILS_H_ | 6 #define V8_UTILS_H_ |
7 | 7 |
8 #include <limits.h> | 8 #include <limits.h> |
9 #include <stdlib.h> | 9 #include <stdlib.h> |
10 #include <string.h> | 10 #include <string.h> |
11 | 11 |
12 #include "allocation.h" | 12 #include "allocation.h" |
13 #include "checks.h" | 13 #include "checks.h" |
| 14 #include "list.h" |
14 #include "globals.h" | 15 #include "globals.h" |
15 #include "platform.h" | 16 #include "platform.h" |
16 #include "vector.h" | 17 #include "vector.h" |
17 | 18 |
18 namespace v8 { | 19 namespace v8 { |
19 namespace internal { | 20 namespace internal { |
20 | 21 |
21 // ---------------------------------------------------------------------------- | 22 // ---------------------------------------------------------------------------- |
22 // General helper functions | 23 // General helper functions |
23 | 24 |
(...skipping 1441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1465 // Add formatted contents like printf based on a va_list. | 1466 // Add formatted contents like printf based on a va_list. |
1466 void AddFormattedList(const char* format, va_list list); | 1467 void AddFormattedList(const char* format, va_list list); |
1467 private: | 1468 private: |
1468 DISALLOW_IMPLICIT_CONSTRUCTORS(StringBuilder); | 1469 DISALLOW_IMPLICIT_CONSTRUCTORS(StringBuilder); |
1469 }; | 1470 }; |
1470 | 1471 |
1471 | 1472 |
1472 } } // namespace v8::internal | 1473 } } // namespace v8::internal |
1473 | 1474 |
1474 #endif // V8_UTILS_H_ | 1475 #endif // V8_UTILS_H_ |
OLD | NEW |