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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/flags.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/flags.h
diff --git a/src/flags.h b/src/flags.h
index 9ec5d30119fd3547283ca94683bae30d80ba08ef..545c172d36794bc58503e8bfeef39ee1261bf34d 100644
--- a/src/flags.h
+++ b/src/flags.h
@@ -58,7 +58,8 @@ class FlagList {
// Set flags as consequence of being implied by another flag.
static void EnforceFlagImplications();
- // Hash of current flags (to quickly determine flag changes).
+ // Hash of flags (to quickly determine mismatching flag expectations).
+ // This hash is calculated during V8::Initialize and cached.
static uint32_t Hash();
};
« 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