[commit: ghc] master: Use SDoc rather than Doc in the native gens (a12b6bf)
Ian Lynagh
igloo at earth.li
Wed Jun 13 17:16:48 CEST 2012
Repository : ssh://darcs.haskell.org//srv/darcs/ghc
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/a12b6bf805f97dee76559844b2913312326b0b22
>---------------------------------------------------------------
commit a12b6bf805f97dee76559844b2913312326b0b22
Author: Ian Lynagh <igloo at earth.li>
Date: Tue Jun 12 21:55:09 2012 +0100
Use SDoc rather than Doc in the native gens
This avoid lots of converting back and forth between the two types.
compiler/nativeGen/AsmCodeGen.lhs | 51 ++++++------
compiler/nativeGen/PIC.hs | 93 ++++++++++-------------
compiler/nativeGen/PPC/Ppr.hs | 86 ++++++++++-----------
compiler/nativeGen/PPC/Regs.hs | 14 ++--
compiler/nativeGen/PprBase.hs | 17 ----
compiler/nativeGen/SPARC/Imm.hs | 5 +-
compiler/nativeGen/SPARC/Ppr.hs | 92 +++++++++++-----------
compiler/nativeGen/X86/Ppr.hs | 152 ++++++++++++++++++-------------------
compiler/nativeGen/X86/Regs.hs | 5 +-
9 files changed, 236 insertions(+), 279 deletions(-)
Diff suppressed because of size. To see it, use:
git show a12b6bf805f97dee76559844b2913312326b0b22
More information about the Cvs-ghc
mailing list