summaryrefslogtreecommitdiff
path: root/src/inc/jithelpers.h
diff options
context:
space:
mode:
authorPat Gavlin <pagavlin@microsoft.com>2016-02-04 17:57:33 -0800
committerPat Gavlin <pagavlin@microsoft.com>2016-02-04 17:57:33 -0800
commit27445bb1b827ce186d06d1c536a7fe10b8bc79ac (patch)
treedd8af337a7df1d0448d650a27cb64f5d30084885 /src/inc/jithelpers.h
parente36834bdee7d14edc404428ec7c6eed661b78f5a (diff)
downloadcoreclr-27445bb1b827ce186d06d1c536a7fe10b8bc79ac.tar.gz
coreclr-27445bb1b827ce186d06d1c536a7fe10b8bc79ac.tar.bz2
coreclr-27445bb1b827ce186d06d1c536a7fe10b8bc79ac.zip
Make a few JIT interface changes to accommodate CoreRT:
- Add support for providing extended flags for a compile invocation. In order to preserve binary compatibility with older definitions of ICorJitCompiler, this involved adding a new method to ICJI to fetch the flags. This method is only called if no flags are provided to the compiler via compileMethod. - Add helper definitions for CORINFO_HELP_PINVOKE_{BEGIN,END} for CoreRT - Add a flag to CorJitFlag2 to indicate that the aforementioned heleprs should be used instead of generating inline transitions - Add a new method, getAddressOfPInvokeTarget, to the JIT/EE interface. This method can return a direct target for a PInvoke call in addition to an indirect or double-indirect target. [tfs-changeset: 1572442]
Diffstat (limited to 'src/inc/jithelpers.h')
-rw-r--r--src/inc/jithelpers.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/inc/jithelpers.h b/src/inc/jithelpers.h
index 4da7889e21..308ad54e97 100644
--- a/src/inc/jithelpers.h
+++ b/src/inc/jithelpers.h
@@ -400,6 +400,9 @@
JITHELPER1(CORINFO_HELP_THROW_ARGUMENTEXCEPTION, JIT_ThrowArgumentException, CORINFO_HELP_SIG_REG_ONLY, MDIL_HELP_UNDEF)
JITHELPER1(CORINFO_HELP_THROW_ARGUMENTOUTOFRANGEEXCEPTION, JIT_ThrowArgumentOutOfRangeException, CORINFO_HELP_SIG_REG_ONLY, MDIL_HELP_UNDEF)
+ JITHELPER1(CORINFO_HELP_JIT_PINVOKE_BEGIN, NULL, CORINFO_HELP_SIG_UNDEF, MDIL_HELP_UNDEF)
+ JITHELPER1(CORINFO_HELP_JIT_PINVOKE_END, NULL, CORINFO_HELP_SIG_UNDEF, MDIL_HELP_UNDEF)
+
#endif // COR_JIT_EE_VERSION
#undef JITHELPER1