Use `MethodTable.Of` in generated valuetype methods (#83325)
authorMichal Strehovský <MichalStrehovsky@users.noreply.github.com>
Mon, 13 Mar 2023 21:17:14 +0000 (06:17 +0900)
committerGitHub <noreply@github.com>
Mon, 13 Mar 2023 21:17:14 +0000 (06:17 +0900)
commit1c8d37af80667daffb3cb80ce0fe915621e8f039
tree49601e691b6702cf56ad12b320147426ac978e52
parente247ef3c03f5dae7ed634d83ec53e1386e5fe57d
Use `MethodTable.Of` in generated valuetype methods (#83325)

I thought it might improve codegen, but the improvements are marginal. Still, contributes to dotnet/runtimelab#232.
src/coreclr/nativeaot/System.Private.CoreLib/src/System/Runtime/RuntimeImports.cs
src/coreclr/nativeaot/System.Private.CoreLib/src/System/ValueType.cs
src/coreclr/tools/Common/TypeSystem/IL/Stubs/ValueTypeGetFieldHelperMethodOverride.cs