variables to registers. The linear scan pass uses the
information that was previously gathered by the loop nesting
and loop structure computation to favor variables in inner
- loops.
+ loops. This process updates the basic block `nesting' field
+ which is later used during liveness analysis.
Stack space is then reserved for the local variables and any
temporary variables generated during the various
operations if possible.
The rest of the code generation is fairly simple: a switch
- statement is used to generate code for each of the MonoInsts
+ statement is used to generate code for each of the MonoInsts,
+ in the mono/mini/mini-ARCH.c files, the method is called
+ "mono_arch_output_basic_block".
We always try to allocate code in sequence, instead of just using
malloc. This way we increase spatial locality which gives a massive