Changes between Version 7 and Version 8 of Commentary/Compiler/Backends/PprC


Ignore:
Timestamp:
May 7, 2011 5:57:25 PM (4 years ago)
Author:
igloo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/Compiler/Backends/PprC

    v7 v8  
    55Source: [[GhcFile(compiler/cmm/PprC.hs)]]
    66
    7 This phase takes [wiki:Commentary/Compiler/CmmType Cmm] and generates plain C code.  The C code generator is very simple these days, in fact it can almost be considered pretty-printing.
     7This phase takes [wiki:Commentary/Compiler/CmmType Cmm] and generates plain C code. The C code generator is very simple these days, in fact it can almost be considered pretty-printing. It is only used for unregisterised compilers.
    88
    99== Header files ==
     
    1313This has several advantages:
    1414 
    15  * `-fvia-C` is consistent with `-fasm` with respect to FFI declarations:
    16    both bind to the ABI, not the API.
     15 * Via C compilation is consistent with the other backend with respect to FFI declarations:
     16   all bind to the ABI, not the API.
    1717 
    1818 * foreign calls can now be inlined freely across module boundaries, since