Java Reference
In-Depth Information
FIGURE 6.7 HIR flow graph for Factorial.computeIter().
formal argument n . I0 identifies the instruction LDLOC0 that loads the value (for n ) from
position 0 on the stack 2 ; notice the instruction is typed to be integer by the I in I0 . In B1,
the vector has two elements: the first is I0 for n and the second is I2 for result .
HIR Instructions
The instruction sequence within each basic block is of a higher level than is JVM code.
These sequences capture the expression trees from the original source. We follow [Wimmer,
2 The argument actually will be in register $a0 in the SPIM code, following SPIM convention.
 
Search WWH ::




Custom Search