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/globals.h" | 8 #include "src/globals.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 static int SetFlagsFromString(const char* str, int len); | 50 static int SetFlagsFromString(const char* str, int len); |
51 | 51 |
52 // Reset all flags to their default value. | 52 // Reset all flags to their default value. |
53 static void ResetAllFlags(); | 53 static void ResetAllFlags(); |
54 | 54 |
55 // Print help to stdout with flags, types, and default values. | 55 // Print help to stdout with flags, types, and default values. |
56 static void PrintHelp(); | 56 static void PrintHelp(); |
57 | 57 |
58 // Set flags as consequence of being implied by another flag. | 58 // Set flags as consequence of being implied by another flag. |
59 static void EnforceFlagImplications(); | 59 static void EnforceFlagImplications(); |
| 60 |
| 61 // Hash of current flags (to quickly determine flag changes). |
| 62 static uint32_t Hash(); |
60 }; | 63 }; |
61 | 64 |
62 } } // namespace v8::internal | 65 } } // namespace v8::internal |
63 | 66 |
64 #endif // V8_FLAGS_H_ | 67 #endif // V8_FLAGS_H_ |
OLD | NEW |