summaryrefslogtreecommitdiff
path: root/src/vm/compile.h
diff options
context:
space:
mode:
authorFadi Hanna <fadim@microsoft.com>2016-08-03 18:00:49 -0700
committerGitHub <noreply@github.com>2016-08-03 18:00:49 -0700
commit693fff99049bc7d63459b2c444237ca532036b47 (patch)
treeb6c9b7fdc517276f1480f6a9deb23c506ffc8fdd /src/vm/compile.h
parentd18ddfda61efdfe4521d2dce816fa01021bf26a8 (diff)
downloadcoreclr-693fff99049bc7d63459b2c444237ca532036b47.tar.gz
coreclr-693fff99049bc7d63459b2c444237ca532036b47.tar.bz2
coreclr-693fff99049bc7d63459b2c444237ca532036b47.zip
Adding Support for FieldDescSlot generic dictionary entries for R2R generic code. (#6200)
This enables generic code with ldtoken instructions for fields on generic types to be compiled into R2R. This change makes newer versions of the runtime compatible with older version R2R images, but not vice-versa. Therefore, the major version is increased to 2 with this change. This change adds more encodings to a R2R image without changing the format of any previously encoded entity, and is backwards compatible.
Diffstat (limited to 'src/vm/compile.h')
-rw-r--r--src/vm/compile.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/vm/compile.h b/src/vm/compile.h
index c7a2d06ce9..19bbac3228 100644
--- a/src/vm/compile.h
+++ b/src/vm/compile.h
@@ -281,8 +281,8 @@ class CEECompileInfo : public ICorCompileInfo
SigBuilder *pSigBuilder,
LPVOID encodeContext,
ENCODEMODULE_CALLBACK pfnEncodeModule,
- CORINFO_RESOLVED_TOKEN * pResolvedToken,
- CORINFO_RESOLVED_TOKEN * pConstrainedResolvedToken,
+ CORINFO_RESOLVED_TOKEN *pResolvedToken,
+ CORINFO_RESOLVED_TOKEN *pConstrainedResolvedToken,
BOOL fEncodeUsingResolvedTokenSpecStreams);
virtual mdToken TryEncodeMethodAsToken(CORINFO_METHOD_HANDLE handle,
@@ -296,7 +296,8 @@ class CEECompileInfo : public ICorCompileInfo
SigBuilder *pSigBuilder,
LPVOID encodeContext,
ENCODEMODULE_CALLBACK pfnEncodeModule,
- CORINFO_RESOLVED_TOKEN * pResolvedToken);
+ CORINFO_RESOLVED_TOKEN *pResolvedToken,
+ BOOL fEncodeUsingResolvedTokenSpecStreams);
// Encode generic dictionary signature
virtual void EncodeGenericSignature(