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

Unified Diff: src/version.h

Issue 909473002: Add hash fields to code cache header. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix test case Created 5 years, 10 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 | « src/serialize.cc ('k') | test/cctest/test-api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/version.h
diff --git a/src/version.h b/src/version.h
index 008ed276548f166165d421c7d0df9c2928017192..dbcec1b27d427b565affd25e773ff6bf57eb3047 100644
--- a/src/version.h
+++ b/src/version.h
@@ -18,8 +18,9 @@ class Version {
static int GetBuild() { return build_; }
static int GetPatch() { return patch_; }
static bool IsCandidate() { return candidate_; }
- static int Hash() {
- return static_cast<int>(base::hash_combine(major_, minor_, build_, patch_));
+ static uint32_t Hash() {
+ return static_cast<uint32_t>(
+ base::hash_combine(major_, minor_, build_, patch_));
}
// Calculate the V8 version string.
« no previous file with comments | « src/serialize.cc ('k') | test/cctest/test-api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698