4.4 Stack Frames
A stack frame is the run-time representation of a call to a
function; the frame stores the state that a function needs to remember
what it is doing. Frames have:
- variables (see Variable Access), which are the values being operated
on;
- arguments to the call (which are really just particularly
interesting variables), and
- a current location (see Source Location Printing), which is the place in
the program where the function was running when it stopped to call
another function, or because of an interrupt or error.