[Mono-list] Method JIT Compilation
Wed, 6 Aug 2003 17:50:19 -0400 (EDT)
I'm trying to trace through some of the Mono source code. I've followed
(at a medium-level) how the main method in a program is compiled to ir in
mono_method_to_ir and then how certain optimizations are performed on the
intermediate representation, and then how the IR is compiled down to
native code in mono_codegen.
However, I haven't been able to locate exactly how the JIT compilation
process is re-triggered when I call another method from within the main
function. I guess somewhere there is a pointer that either diverts the
program to a previously compiled version of the method or to the JIT
compiler for compilation. Where exactly does this happen?
Thanks in advance for your help,