Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
two more uses of ComputeHash()
  • Loading branch information
VSadov committed Nov 6, 2021
commit d7b34042fc962848b537164ccd98919acf17b83c
2 changes: 1 addition & 1 deletion src/coreclr/vm/clsload.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3634,7 +3634,7 @@ ClassLoader::LoadTypeHandleForTypeKey_Body(
}
EX_HOOK
{
LOG((LF_CLASSLOADER, LL_INFO10, "Caught an exception loading: %x, %0x (Module)\n", pTypeKey->IsConstructed() ? pTypeKey->ComputeHash() : pTypeKey->GetTypeToken(), pTypeKey->GetModule()));
LOG((LF_CLASSLOADER, LL_INFO10, "Caught an exception loading: %x, %0x (Module)\n", pTypeKey->IsConstructed() ? HashTypeKey(pTypeKey) : pTypeKey->GetTypeToken(), pTypeKey->GetModule()));

if (!GetThread()->HasThreadStateNC(Thread::TSNC_LoadsTypeViolation))
{
Expand Down
2 changes: 1 addition & 1 deletion src/coreclr/vm/gdbjit.h
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ class NotifyGdb
static count_t Hash(key_t k)
{
LIMITED_METHOD_CONTRACT;
return k->ComputeHash();
return HashTypeKey(k);
}

static const element_t Null() { LIMITED_METHOD_CONTRACT; return element_t(key_t(),VALUE()); }
Expand Down