Changes between Version 13 and Version 14 of Commentary/Compiler/StackAreas


Ignore:
Timestamp:
Jun 5, 2008 5:27:43 PM (7 years ago)
Author:
dias
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/Compiler/StackAreas

    v13 v14  
    5555}}}
    5656
    57 Note that the semantics of the now-unnecessary !CopyIn and !CopyOut are reified by explicit an assignment to the stack pointer and by a series of copy instructions. An optimization that understands copy instructions can improve this code -- without having to worry about understanding the semantics of !CopyIn.
     57Note that the semantics of the now-unnecessary !CopyIn and !CopyOut are reified by an assignment to the stack pointer and by a series of copy instructions. If an optimization understands copy instructions, it can improve this code -- without having to worry about the semantics of !CopyIn.
    5858
    59 We use the following types:
     59Furthermore, the job of laying out the stack is now pleasantly simple: decide where to place the slots and parameter-passing areas, then rewrite the references to stack locations. The stack-layout phase is no longer responsible for inserting stack adjustments or lowering !CopyIn and !CopyOut nodes to data-movement instructions.
     60
     61We use the following types to represent stack slots and parameter-passing areas:
    6062
    6163{{{