Menu
Home Explore People Places Arts History Plants & Animals Science Life & Culture Technology
On this page
Leaf subroutine
Subroutines in computer science
We don't have any images related to Leaf subroutine yet.
We don't have any YouTube videos related to Leaf subroutine yet.
We don't have any PDF documents related to Leaf subroutine yet.
We don't have any Books related to Leaf subroutine yet.
We don't have any archived web articles related to Leaf subroutine yet.

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.