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 "src/v8checks.h" // NOLINT | 31 #include "src/checks.h" // NOLINT |
32 #include "src/allocation.h" // NOLINT | 32 #include "src/allocation.h" // NOLINT |
33 #include "src/assert-scope.h" // NOLINT | 33 #include "src/assert-scope.h" // NOLINT |
34 #include "src/utils.h" // NOLINT | 34 #include "src/utils.h" // NOLINT |
35 #include "src/flags.h" // NOLINT | 35 #include "src/flags.h" // NOLINT |
36 #include "src/globals.h" // NOLINT | 36 #include "src/globals.h" // NOLINT |
37 | 37 |
38 // Objects & heap | 38 // Objects & heap |
39 #include "src/objects-inl.h" // NOLINT | 39 #include "src/objects-inl.h" // NOLINT |
40 #include "src/spaces-inl.h" // NOLINT | 40 #include "src/spaces-inl.h" // NOLINT |
41 #include "src/heap-inl.h" // NOLINT | 41 #include "src/heap-inl.h" // NOLINT |
(...skipping 57 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 |