summaryrefslogtreecommitdiff
path: root/src/zap/zapinfo.h
diff options
context:
space:
mode:
authorAndy Ayers <andya@microsoft.com>2017-03-16 08:30:17 -0700
committerAndy Ayers <andya@microsoft.com>2017-03-16 13:51:36 -0700
commit00f13f2fb04c21fc1675ce264ef7291cbcec67a1 (patch)
tree5d46148b655a6f86553f51471209d64b77b7f119 /src/zap/zapinfo.h
parent3ea5447c9b090e621aed9e20a580178e97dabf8f (diff)
downloadcoreclr-00f13f2fb04c21fc1675ce264ef7291cbcec67a1.tar.gz
coreclr-00f13f2fb04c21fc1675ce264ef7291cbcec67a1.tar.bz2
coreclr-00f13f2fb04c21fc1675ce264ef7291cbcec67a1.zip
Interface call devirtualization: VM side of changes
Extend resolveVirtualMethod to take in the owner type needed to resolve shared generic interface calls, and implement VM support for interface call devirtualization. Add a check that the class presented by the jit implements the interface, to catch cases where the IL is missing type casts. Update jit GUID, SPMI and zap to reflect the changed signature.
Diffstat (limited to 'src/zap/zapinfo.h')
-rw-r--r--src/zap/zapinfo.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/zap/zapinfo.h b/src/zap/zapinfo.h
index c0846d1044..973170f09d 100644
--- a/src/zap/zapinfo.h
+++ b/src/zap/zapinfo.h
@@ -667,7 +667,8 @@ public:
CORINFO_METHOD_HANDLE resolveVirtualMethod(
CORINFO_METHOD_HANDLE virtualMethod,
- CORINFO_CLASS_HANDLE implementingClass
+ CORINFO_CLASS_HANDLE implementingClass,
+ CORINFO_CONTEXT_HANDLE ownerType
);
CorInfoIntrinsics getIntrinsicID(CORINFO_METHOD_HANDLE method,