Fix issues with RelativePointer instead of RelativeFixupPointer (dotnet/coreclr#12004)
authorgbalykov <g.balykov@samsung.com>
Wed, 31 May 2017 15:39:43 +0000 (18:39 +0300)
committerJan Kotas <jkotas@microsoft.com>
Wed, 31 May 2017 15:39:43 +0000 (08:39 -0700)
Commit migrated from https://github.com/dotnet/coreclr/commit/3530e3f5751f4b0e12b8f45bf7fe2a2a309cfebb

src/coreclr/src/vm/method.hpp

index 228ef0c..4b85357 100644 (file)
@@ -3309,7 +3309,7 @@ public:
         LIMITED_METHOD_DAC_CONTRACT;
 
         _ASSERTE(IMD_IsWrapperStubWithInstantiations());
-        return RelativePointer<PTR_MethodDesc>::GetValueAtPtr(PTR_HOST_MEMBER_TADDR(InstantiatedMethodDesc, this, m_pWrappedMethodDesc));
+        return RelativeFixupPointer<PTR_MethodDesc>::GetValueAtPtr(PTR_HOST_MEMBER_TADDR(InstantiatedMethodDesc, this, m_pWrappedMethodDesc));
     }
 
 #ifndef DACCESS_COMPILE