OLD | NEW |
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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_FLAGS_H_ | 5 #ifndef V8_FLAGS_H_ |
6 #define V8_FLAGS_H_ | 6 #define V8_FLAGS_H_ |
7 | 7 |
8 #include "atomicops.h" | 8 #include "atomicops.h" |
| 9 #include "globals.h" |
9 | 10 |
10 namespace v8 { | 11 namespace v8 { |
11 namespace internal { | 12 namespace internal { |
12 | 13 |
13 // Declare all of our flags. | 14 // Declare all of our flags. |
14 #define FLAG_MODE_DECLARE | 15 #define FLAG_MODE_DECLARE |
15 #include "flag-definitions.h" | 16 #include "flag-definitions.h" |
16 | 17 |
17 // The global list of all flags. | 18 // The global list of all flags. |
18 class FlagList { | 19 class FlagList { |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 // Print help to stdout with flags, types, and default values. | 56 // Print help to stdout with flags, types, and default values. |
56 static void PrintHelp(); | 57 static void PrintHelp(); |
57 | 58 |
58 // Set flags as consequence of being implied by another flag. | 59 // Set flags as consequence of being implied by another flag. |
59 static void EnforceFlagImplications(); | 60 static void EnforceFlagImplications(); |
60 }; | 61 }; |
61 | 62 |
62 } } // namespace v8::internal | 63 } } // namespace v8::internal |
63 | 64 |
64 #endif // V8_FLAGS_H_ | 65 #endif // V8_FLAGS_H_ |
OLD | NEW |