Changes between Version 51 and Version 52 of Commentary/Compiler/StackAreas


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

--

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/Compiler/StackAreas

    v51 v52  
    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{{{