summaryrefslogtreecommitdiff
path: root/packaging/0008-Fix-issues-with-RelativePointer-instead-of-RelativeF.patch
blob: 1cd2634d6196a61da3cc7af081f8ff6ec9bfec48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From de0e52102e60a0be0b481c3c92e8fad71dbf8941 Mon Sep 17 00:00:00 2001
From: gbalykov <g.balykov@samsung.com>
Date: Wed, 31 May 2017 18:39:43 +0300
Subject: [PATCH 08/32] Fix issues with RelativePointer instead of
 RelativeFixupPointer (#12004)

---
 src/vm/method.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/vm/method.hpp b/src/vm/method.hpp
index 41695df..ae65f30 100644
--- a/src/vm/method.hpp
+++ b/src/vm/method.hpp
@@ -3313,7 +3313,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
-- 
2.7.4