diff options
author | gbalykov <g.balykov@samsung.com> | 2017-05-31 04:25:04 +0300 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2017-05-30 18:25:04 -0700 |
commit | 4ee1c192d1638b4bc69db59c0807a2b8c2b5bd3c (patch) | |
tree | 9267fae6b988e93b6e19c9162cdd3498ce83ad88 /src/vm/genmeth.cpp | |
parent | 48d5a81782370f45cb06231ffa707147c6c79fc5 (diff) | |
download | coreclr-4ee1c192d1638b4bc69db59c0807a2b8c2b5bd3c.tar.gz coreclr-4ee1c192d1638b4bc69db59c0807a2b8c2b5bd3c.tar.bz2 coreclr-4ee1c192d1638b4bc69db59c0807a2b8c2b5bd3c.zip |
Remove relocations from SECTION_MethodDesc for ngened images (#11394)
Diffstat (limited to 'src/vm/genmeth.cpp')
-rw-r--r-- | src/vm/genmeth.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vm/genmeth.cpp b/src/vm/genmeth.cpp index c50f806c60..d5b435bb42 100644 --- a/src/vm/genmeth.cpp +++ b/src/vm/genmeth.cpp @@ -465,7 +465,7 @@ InstantiatedMethodDesc::NewInstantiatedMethodDesc(MethodTable *pExactMT, { if (pWrappedMD->IsSharedByGenericMethodInstantiations()) { - pDL = pWrappedMD->AsInstantiatedMethodDesc()->m_pDictLayout; + pDL = pWrappedMD->AsInstantiatedMethodDesc()->GetDictLayoutRaw(); } } else if (getWrappedCode) @@ -1576,7 +1576,7 @@ void InstantiatedMethodDesc::SetupSharedMethodInstantiation(DWORD numGenericArgs _ASSERTE(FitsIn<WORD>(numGenericArgs)); m_wNumGenericArgs = static_cast<WORD>(numGenericArgs); - m_pDictLayout = pDL; + m_pDictLayout.SetValueMaybeNull(pDL); _ASSERTE(IMD_IsSharedByGenericMethodInstantiations()); |