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 // | 5 // |
6 // Top include for all V8 .cc files. | 6 // Top include for all V8 .cc files. |
7 // | 7 // |
8 | 8 |
9 #ifndef V8_V8_H_ | 9 #ifndef V8_V8_H_ |
10 #define V8_V8_H_ | 10 #define V8_V8_H_ |
(...skipping 10 matching lines...) Expand all Loading... |
21 | 21 |
22 // V8 only uses DEBUG, but included external files | 22 // V8 only uses DEBUG, but included external files |
23 // may use NDEBUG - make sure they are consistent. | 23 // may use NDEBUG - make sure they are consistent. |
24 #if defined(DEBUG) && defined(NDEBUG) | 24 #if defined(DEBUG) && defined(NDEBUG) |
25 #error both DEBUG and NDEBUG are set | 25 #error both DEBUG and NDEBUG are set |
26 #endif | 26 #endif |
27 | 27 |
28 // Basic includes | 28 // Basic includes |
29 #include "../include/v8.h" | 29 #include "../include/v8.h" |
30 #include "../include/v8-platform.h" | 30 #include "../include/v8-platform.h" |
31 #include "v8globals.h" | |
32 #include "v8checks.h" | 31 #include "v8checks.h" |
33 #include "allocation.h" | 32 #include "allocation.h" |
34 #include "assert-scope.h" | 33 #include "assert-scope.h" |
35 #include "utils.h" | 34 #include "utils.h" |
36 #include "flags.h" | 35 #include "flags.h" |
| 36 #include "globals.h" |
37 | 37 |
38 // Objects & heap | 38 // Objects & heap |
39 #include "objects-inl.h" | 39 #include "objects-inl.h" |
40 #include "spaces-inl.h" | 40 #include "spaces-inl.h" |
41 #include "heap-inl.h" | 41 #include "heap-inl.h" |
42 #include "incremental-marking-inl.h" | 42 #include "incremental-marking-inl.h" |
43 #include "mark-compact-inl.h" | 43 #include "mark-compact-inl.h" |
44 #include "log-inl.h" | 44 #include "log-inl.h" |
45 #include "handles-inl.h" | 45 #include "handles-inl.h" |
46 #include "types-inl.h" | 46 #include "types-inl.h" |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 }; | 99 }; |
100 | 100 |
101 | 101 |
102 // JavaScript defines two kinds of 'nil'. | 102 // JavaScript defines two kinds of 'nil'. |
103 enum NilValue { kNullValue, kUndefinedValue }; | 103 enum NilValue { kNullValue, kUndefinedValue }; |
104 | 104 |
105 | 105 |
106 } } // namespace v8::internal | 106 } } // namespace v8::internal |
107 | 107 |
108 #endif // V8_V8_H_ | 108 #endif // V8_V8_H_ |
OLD | NEW |