mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 00:39:49 +00:00
[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:
parent
0f8861e3ba
commit
2f56446250
|
@ -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; }
|
||||
|
|
Loading…
Reference in a new issue