summaryrefslogtreecommitdiff
path: root/src/inc
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2016-04-28 04:35:47 -0700
committerJan Kotas <jkotas@microsoft.com>2016-04-28 04:35:47 -0700
commitc8a355dc6c1f8211119ef149a069d803bd6a76f8 (patch)
treef7f9d90285b06a896da8da776dfbcb218aae3b78 /src/inc
parent2e0435a492f079f10e49d15ab17d54f72731dc29 (diff)
downloadcoreclr-c8a355dc6c1f8211119ef149a069d803bd6a76f8.tar.gz
coreclr-c8a355dc6c1f8211119ef149a069d803bd6a76f8.tar.bz2
coreclr-c8a355dc6c1f8211119ef149a069d803bd6a76f8.zip
Refuse to compile references to nativecallable methods in R2R images (#4627)
Diffstat (limited to 'src/inc')
-rw-r--r--src/inc/corcompile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inc/corcompile.h b/src/inc/corcompile.h
index 8a5b4131ee..9120e5aafb 100644
--- a/src/inc/corcompile.h
+++ b/src/inc/corcompile.h
@@ -727,7 +727,6 @@ enum CORCOMPILE_FIXUP_BLOB_KIND
ENCODE_CHECK_FIELD_OFFSET,
ENCODE_DELEGATE_CTOR,
- ENCODE_METHOD_NATIVE_ENTRY, /* NativeCallable method token */
ENCODE_MODULE_HANDLE = 0x50, /* Module token */
ENCODE_STATIC_FIELD_ADDRESS, /* For accessing a static field */
@@ -741,6 +740,7 @@ enum CORCOMPILE_FIXUP_BLOB_KIND
ENCODE_VARARGS_METHODREF,
ENCODE_VARARGS_SIG,
ENCODE_ACTIVE_DEPENDENCY, /* Conditional active dependency */
+ ENCODE_METHOD_NATIVE_ENTRY, /* NativeCallable method token */
};
enum EncodeMethodSigFlags