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" | 31 #include "src/v8checks.h" // NOLINT |
32 #include "src/allocation.h" | 32 #include "src/allocation.h" // NOLINT |
33 #include "src/assert-scope.h" | 33 #include "src/assert-scope.h" // NOLINT |
34 #include "src/utils.h" | 34 #include "src/utils.h" // NOLINT |
35 #include "src/flags.h" | 35 #include "src/flags.h" // NOLINT |
36 #include "src/globals.h" | 36 #include "src/globals.h" // NOLINT |
37 | 37 |
38 // Objects & heap | 38 // Objects & heap |
39 #include "src/objects-inl.h" | 39 #include "src/objects-inl.h" // NOLINT |
40 #include "src/spaces-inl.h" | 40 #include "src/spaces-inl.h" // NOLINT |
41 #include "src/heap-inl.h" | 41 #include "src/heap-inl.h" // NOLINT |
42 #include "src/incremental-marking-inl.h" | 42 #include "src/incremental-marking-inl.h" // NOLINT |
43 #include "src/mark-compact-inl.h" | 43 #include "src/mark-compact-inl.h" // NOLINT |
44 #include "src/log-inl.h" | 44 #include "src/log-inl.h" // NOLINT |
45 #include "src/handles-inl.h" | 45 #include "src/handles-inl.h" // NOLINT |
46 #include "src/types-inl.h" | 46 #include "src/types-inl.h" // NOLINT |
47 #include "src/zone-inl.h" | 47 #include "src/zone-inl.h" // NOLINT |
48 | 48 |
49 namespace v8 { | 49 namespace v8 { |
50 namespace internal { | 50 namespace internal { |
51 | 51 |
52 class Deserializer; | 52 class Deserializer; |
53 | 53 |
54 class V8 : public AllStatic { | 54 class V8 : public AllStatic { |
55 public: | 55 public: |
56 // Global actions. | 56 // Global actions. |
57 | 57 |
(...skipping 41 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 |