... | ... | @@ -133,7 +133,7 @@ In its bare essentials, the STG machine consists of three parts: |
|
|
returning evaluated values when unwinding the stack. These are the
|
|
|
four registers which are assigned actual processor registers when
|
|
|
implementing the STG machine on x86.
|
|
|
- The STG stack:
|
|
|
1. The STG stack:
|
|
|
|
|
|
- Stores function arguments and continuations (i.e. the stack
|
|
|
frames which are executed when a function returns)
|
... | ... | @@ -142,7 +142,7 @@ In its bare essentials, the STG machine consists of three parts: |
|
|
the maximum available stack pointer is stored in `SpLim`. There is
|
|
|
no frame pointer.
|
|
|
|
|
|
- The heap:
|
|
|
1. The heap:
|
|
|
|
|
|
- Used to store many different sorts of heap object: notably
|
|
|
functions, thunks and data constructors
|
... | ... | |