Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(325)

Side by Side Diff: src/flags.h

Issue 718043002: Add a version tag for cached data. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Final rebase. Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/api.cc ('k') | src/flags.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/flags.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698