|
|
|
|
|
|
|
|
|
|
|
|
|
|
• |
Definition:
context – the region of the stack
|
|
that
provides the execution environment of
|
|
|
(a
particular call to) a function
|
|
|
• |
Implementation
|
|
|
|
• |
Usually,
a linear piece of memory and a stack
|
|
|
pointer
in a register
|
|
|
|
• |
Occasionally,
a linked list
|
|
|
• |
Recursion
|
|
|
|
• |
Stack
discipline allows multiple contexts for the
|
|
|
same
function in the stack at the same time
|
|