Changes between Version 53 and Version 54 of Commentary/Compiler/StackAreas


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

--

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/Compiler/StackAreas

    v53 v54  
    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.  
    59 Notice that a CmmStackSlot is an address, so we can say 
     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`.  
     59Notice that a `CmmStackSlot` is an ''address'', so we can say 
    6060{{{ 
    6161  Sp = SS(a+0)