[vm] Change missed Hashcode -> Hash() from CL submitted in parallel.

TEST=Build succeeds.

Cq-Include-Trybots: luci.dart.try:vm-kernel-precomp-linux-release-x64-try
Change-Id: Idc107eb4e84e7e80cdb87454c2c6e27787682525
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195262
Reviewed-by: Tess Strickland <sstrickl@google.com>
Commit-Queue: Tess Strickland <sstrickl@google.com>
This commit is contained in:
Tess Strickland 2021-04-14 10:34:43 +00:00
parent 0f8861e3ba
commit 2f56446250

View file

@ -155,7 +155,7 @@ class V8SnapshotProfileWriter : public ZoneAllocated {
static Key KeyOf(Pair kv) { return kv.edge; }
static Value ValueOf(Pair kv) { return kv.target; }
static intptr_t Hashcode(Key key) {
static uword Hash(Key key) {
return FinalizeHash(CombineHashes(key.first, key.second), 30);
}
static bool IsKeyEqual(Pair kv, Key key) { return kv.edge == key; }