Changes between Version 1 and Version 2 of Commentary/Rts/HaskellExecution/Registers


Ignore:
Timestamp:
Feb 17, 2011 5:46:11 PM (3 years ago)
Author:
dterei
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/Rts/HaskellExecution/Registers

    v1 v2  
    88 * `Hp` points to the byte before the first free byte in the (contiguous) allocation space. 
    99 
    10  * `HpLim` points to the last available byte in the current chunk of allocation space (see [[ref(Heap/Stack check failures)]]). 
     10 * `HpLim` points to the last available byte in the current chunk of allocation space. 
    1111 
    1212 * `Sp` points to the youngest allocated byte of stack.  The stack grows downwards.  Why?  Because that means a return address is at a lower address than the stack frame it "knows about", and that in turn means that we can treat a stack frame very like a heap object, with an info pointer (return address) as its first word.