Make a few JIT interface changes to accommodate CoreRT:
authorPat Gavlin <pagavlin@microsoft.com>
Fri, 5 Feb 2016 01:57:33 +0000 (17:57 -0800)
committerPat Gavlin <pagavlin@microsoft.com>
Fri, 5 Feb 2016 01:57:33 +0000 (17:57 -0800)
commit27445bb1b827ce186d06d1c536a7fe10b8bc79ac
treedd8af337a7df1d0448d650a27cb64f5d30084885
parente36834bdee7d14edc404428ec7c6eed661b78f5a
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]
13 files changed:
src/inc/corinfo.h
src/inc/corjit.h
src/inc/jithelpers.h
src/jit/compiler.cpp
src/jit/compiler.h
src/jit/ee_il_dll.cpp
src/jit/flowgraph.cpp
src/jit/jit.h
src/jit/lower.cpp
src/vm/jitinterface.cpp
src/vm/jitinterface.h
src/zap/zapinfo.cpp
src/zap/zapinfo.h