Leaf subroutine
A leaf subroutine is a subroutine which cannot in turn call another subroutine. Some compilers can apply special program optimizations to leaf subroutines, such as the use of link registers to avoid having to push the return address on the stack.
The term "leaf" refers to their position as leaf nodes in the call graph of the program.
This article is issued from Wikipedia - version of the 11/23/2010. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.