X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=docs%2Fmini-doc.txt;h=bd4b489777e95b30ad1b47a9beffb4f8ab8f6f85;hb=24c15a5dd1af5a324ff0db179d31e2a62f38cb40;hp=30d9b4442b7ad5cc8c24bb5c2f67e04f5ab88008;hpb=ce581fac4e962f9ada55d8b8c3f8d34a4cdc23e2;p=mono.git diff --git a/docs/mini-doc.txt b/docs/mini-doc.txt index 30d9b4442b7..bd4b489777e 100644 --- a/docs/mini-doc.txt +++ b/docs/mini-doc.txt @@ -375,7 +375,8 @@ 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 @@ -489,7 +490,9 @@ 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