[commit: ghc] : Use SDoc for all LLVM pretty-printing (99d3922)

David Terei davidterei at gmail.com
Fri Jun 28 03:56:51 CEST 2013


Repository : http://darcs.haskell.org/ghc.git/

On branch  : 

https://github.com/ghc/ghc/commit/99d39221cfa6f6b8ccf950763a73ad32edd7beef

>---------------------------------------------------------------

commit 99d39221cfa6f6b8ccf950763a73ad32edd7beef
Author: Peter Wortmann <scpmw at leeds.ac.uk>
Date:   Wed Jun 26 15:49:10 2013 +0100

    Use SDoc for all LLVM pretty-printing
    
    This patch reworks some parts of the LLVM pretty-printing code that were
    still using Show and String. Now we should be using SDoc and Outputable
    throughout. Note that many get*Name functions become pp*Name
    here as a side-effect.

 compiler/llvmGen/Llvm.hs                |   3 +-
 compiler/llvmGen/Llvm/MetaData.hs       |  13 +-
 compiler/llvmGen/Llvm/PpLlvm.hs         | 127 +++++-----
 compiler/llvmGen/Llvm/Types.hs          | 396 ++++++++++++++++----------------
 compiler/llvmGen/LlvmCodeGen/Base.hs    |   2 +-
 compiler/llvmGen/LlvmCodeGen/CodeGen.hs |  27 +--
 compiler/utils/Outputable.lhs           |   7 +
 7 files changed, 291 insertions(+), 284 deletions(-)


Diff suppressed because of size. To see it, use:

    git show 99d39221cfa6f6b8ccf950763a73ad32edd7beef



More information about the ghc-commits mailing list