[commit: ghc] master: Fix todo in compiler/nativeGen: Rename Size to Format (31580e2)

git at git.haskell.org git at git.haskell.org
Tue Jul 7 17:17:33 UTC 2015


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/31580e2c81543a58c0d352154c6109d843978cdf/ghc

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

commit 31580e2c81543a58c0d352154c6109d843978cdf
Author: markus <markus.grosser at tum.de>
Date:   Tue Jul 7 16:59:40 2015 +0200

    Fix todo in compiler/nativeGen: Rename Size to Format
    
    This commit renames the Size module in the native code generator to
    Format, as proposed by a todo, as well as adjusting parameter names in
    other modules that use it.
    
    Test Plan: validate
    
    Reviewers: austin, simonmar, bgamari
    
    Reviewed By: simonmar, bgamari
    
    Subscribers: bgamari, simonmar, thomie
    
    Projects: #ghc
    
    Differential Revision: https://phabricator.haskell.org/D865


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

31580e2c81543a58c0d352154c6109d843978cdf
 compiler/ghc.cabal.in                        |   2 +-
 compiler/nativeGen/{Size.hs => Format.hs}    |  77 +++--
 compiler/nativeGen/NCGMonad.hs               |   8 +-
 compiler/nativeGen/PPC/CodeGen.hs            | 188 +++++------
 compiler/nativeGen/PPC/Instr.hs              |  79 ++---
 compiler/nativeGen/PPC/Ppr.hs                |  82 ++---
 compiler/nativeGen/PPC/Regs.hs               |  10 +-
 compiler/nativeGen/SPARC/CodeGen.hs          |  30 +-
 compiler/nativeGen/SPARC/CodeGen/Amode.hs    |   2 +-
 compiler/nativeGen/SPARC/CodeGen/Base.hs     |  22 +-
 compiler/nativeGen/SPARC/CodeGen/CondCode.hs |   4 +-
 compiler/nativeGen/SPARC/CodeGen/Expand.hs   |   2 +-
 compiler/nativeGen/SPARC/CodeGen/Gen32.hs    |  64 ++--
 compiler/nativeGen/SPARC/CodeGen/Gen64.hs    |   4 +-
 compiler/nativeGen/SPARC/Instr.hs            |  40 +--
 compiler/nativeGen/SPARC/Ppr.hs              |  91 +++---
 compiler/nativeGen/SPARC/Regs.hs             |  12 +-
 compiler/nativeGen/TargetReg.hs              |   4 +-
 compiler/nativeGen/X86/CodeGen.hs            | 462 ++++++++++++++-------------
 compiler/nativeGen/X86/Instr.hs              | 254 +++++++--------
 compiler/nativeGen/X86/Ppr.hs                | 436 +++++++++++++------------
 compiler/nativeGen/X86/RegInfo.hs            |   8 +-
 22 files changed, 945 insertions(+), 936 deletions(-)

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

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 31580e2c81543a58c0d352154c6109d843978cdf


More information about the ghc-commits mailing list