Changes between Version 57 and Version 58 of Commentary/Compiler/StackAreas


Ignore:
Timestamp:
Jun 30, 2008 3:35:07 PM (7 years ago)
Author:
dias
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/Compiler/StackAreas

    v57 v58  
    5656An `Area` represents space on the stack; it may use either the `RegSlot` constructor to represent a single stack slot for a register or the `CallArea` constructor to represent parameters passed to/from a function call/return. In a `CallArea`, the `BlockId` is the label of the function call's continuation, and the two integers are the sizes of the outgoing and incoming parameter-passing areas. 
    5757 
    58 To name a specific location on the stack, we represent its address with a new kind of `CmmExpr`: the `CmmStackSlot` expression. A `CmmStackSlot` is just an integer offset into an `Area`.  
     58To name a specific location on the stack, we represent its address with a new kind of `CmmExpr`: the `CmmStackSlot`. 
     59A `CmmStackSlot` is just an integer offset into an `Area`.  
    5960Notice that a `CmmStackSlot` is an ''address'', so we can say 
    6061{{{