Changes between Version 11 and Version 12 of Commentary/Compiler/CodeGen


Ignore:
Timestamp:
May 24, 2007 10:07:43 AM (8 years ago)
Author:
guest
Comment:

Added section for memory and register related modules

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/Compiler/CodeGen

    v11 v12  
    8282  {{{CgExpr}}}:: Seems to be the core function since everything in STG is an expression
    8383
     84=== Memory and Register Management ===
     85 CgBindery::
     86   Module for {{{CgBindings}}} which maps variable names
     87   to all the volitile or stable locations where they are stored
     88   (e.g. register, stack slot, computed from other expressions, etc.)
     89   Provides the {{{addBindC}}}, {{{modifyBindC}}} and {{{getCgIdInfo}}} functions
     90   for adding, modifying and looking up bindings.
     91
     92 CgStackery::
     93   Mostly utility functions for allocating and freeing stack slots.
     94   But also has things on setting up update frames.
     95
     96 CgHeapery::
     97   Functions for allocating objects that appear on the heap such as closures and constructors.
     98   Also includes code for stack and heap checks and {{{emitSetDynHdr}}}.
     99
    84100=== Misc utilities ===
    85101 Bitmap::
     
    103119Please help classify these if you know what they are.
    104120
    105  CgBindery::
    106    Module for {{{CgBindings}}} which maps variable names
    107    to all the volitile or stable locations where they are stored
    108    (e.g. register, stack slot, computed from other expressions, etc.)
    109    Provides the {{{addBindC}}}, {{{modifyBindC}}} and {{{getCgIdInfo}}} functions
    110    for adding, modifying and looking up bindings.
    111 
    112  CgStackery::
    113    Mostly utility functions for allocating and freeing stack slots.
    114    But also has things on setting up update frames.
    115 
    116  CgHeapery
    117 
    118121 Maybe top-level:: It seems that codeGen calls these two which in turn call CgExpr
    119122  * CgClosure