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

Side by Side Diff: src/flags.h

Issue 1011703003: Serializer: Cache FlagList::Hash result. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix test case Created 5 years, 9 months 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
« no previous file with comments | « no previous file | 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 60
61 // Hash of current flags (to quickly determine flag changes). 61 // Hash of flags (to quickly determine mismatching flag expectations).
62 // This hash is calculated during V8::Initialize and cached.
62 static uint32_t Hash(); 63 static uint32_t Hash();
63 }; 64 };
64 65
65 } } // namespace v8::internal 66 } } // namespace v8::internal
66 67
67 #endif // V8_FLAGS_H_ 68 #endif // V8_FLAGS_H_
OLDNEW
« no previous file with comments | « no previous file | src/flags.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698