summaryrefslogtreecommitdiff
path: root/packaging/0008-Fix-issues-with-RelativePointer-instead-of-RelativeF.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/0008-Fix-issues-with-RelativePointer-instead-of-RelativeF.patch')
-rw-r--r--packaging/0008-Fix-issues-with-RelativePointer-instead-of-RelativeF.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/packaging/0008-Fix-issues-with-RelativePointer-instead-of-RelativeF.patch b/packaging/0008-Fix-issues-with-RelativePointer-instead-of-RelativeF.patch
new file mode 100644
index 0000000000..1cd2634d61
--- /dev/null
+++ b/packaging/0008-Fix-issues-with-RelativePointer-instead-of-RelativeF.patch
@@ -0,0 +1,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
+