Changes between Version 55 and Version 56 of Commentary/Compiler/StackAreas


Ignore:
Timestamp:
Jun 30, 2008 3:33:25 PM (6 years ago)
Author:
dias
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/Compiler/StackAreas

    v55 v56  
    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}}}. 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.` A `CmmStackSlot` is just an integer offset into an `Area`.  
    5959Notice that a `CmmStackSlot` is an ''address'', so we can say 
    6060{{{