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