From 9d2590dc37aea56bee9f03d2597eaa1ce1bb62c5 Mon Sep 17 00:00:00 2001 From: "John Chen (CLR)" Date: Mon, 25 Apr 2016 01:55:00 -0700 Subject: Support generic methods without generic dictionary --- src/inc/corcompile.h | 4 ++++ src/inc/readytorun.h | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'src/inc') diff --git a/src/inc/corcompile.h b/src/inc/corcompile.h index 9120e5aafb..fd728212bc 100644 --- a/src/inc/corcompile.h +++ b/src/inc/corcompile.h @@ -1867,6 +1867,10 @@ class ICorCompileInfo virtual void EncodeTypeLayout(CORINFO_CLASS_HANDLE classHandle, SigBuilder * pSigBuilder) = 0; virtual BOOL AreAllClassesFullyLoaded(CORINFO_MODULE_HANDLE moduleHandle) = 0; + + virtual int GetVersionResilientTypeHashCode(CORINFO_MODULE_HANDLE moduleHandle, mdToken token) = 0; + + virtual int GetVersionResilientMethodHashCode(CORINFO_METHOD_HANDLE methodHandle) = 0; #endif virtual BOOL HasCustomAttribute(CORINFO_METHOD_HANDLE method, LPCSTR customAttributeName) = 0; diff --git a/src/inc/readytorun.h b/src/inc/readytorun.h index 2d6d34229f..7a82ec4016 100644 --- a/src/inc/readytorun.h +++ b/src/inc/readytorun.h @@ -54,7 +54,9 @@ enum ReadyToRunSectionType READYTORUN_SECTION_EXCEPTION_INFO = 104, READYTORUN_SECTION_DEBUG_INFO = 105, READYTORUN_SECTION_DELAYLOAD_METHODCALL_THUNKS = 106, - READYTORUN_SECTION_AVAILABLE_TYPES = 107, + // 107 used by an older format of READYTORUN_SECTION_AVAILABLE_TYPES + READYTORUN_SECTION_AVAILABLE_TYPES = 108, + READYTORUN_SECTION_INSTANCE_METHOD_ENTRYPOINTS = 109, }; // -- cgit v1.2.3