(3) Restrictions on using the nest mode
(i) Tail call
⎯ When a tail call is used for a function as shown below, the return value of the callee
function becomes the return address of the caller function. The execution time of the callee
function cannot be measured correctly but the execution counts can be masured.
f( ){
g( );
}
g( ){
}
Figure 5.97 Tail Call (Nest Mode)
RTS
NOP
No branch
271