[Jiterpreter] Add support for TryGetHashCode intrinsic (#81644)
authorAustin Wise <AustinWise@gmail.com>
Tue, 7 Feb 2023 23:50:01 +0000 (15:50 -0800)
committerGitHub <noreply@github.com>
Tue, 7 Feb 2023 23:50:01 +0000 (15:50 -0800)
commit59dddfdef247b9b85a69d663a1d1c1746206711e
treee3a40bb3bbbc7804e635cbd5372828dcb76cdcd4
parent5f6c7d6f419ecc2376579507f4666406b8c87d5c
[Jiterpreter] Add support for TryGetHashCode intrinsic (#81644)

#80520 added support in the Jiterpreter for the intrinsic that underlies RuntimeHelpers.GetHashCode. This PR adds similar support for the intrinsic that underlies RuntimeHelpers.TryGetHashCode.

For reference RuntimeHelpers.TryGetHashCode was added in #80059. It is currently only used in ConditionalWeakTable.TryGetValue.
src/mono/mono/mini/interp/jiterpreter.c
src/mono/wasm/runtime/jiterpreter-trace-generator.ts
src/mono/wasm/runtime/jiterpreter.ts