[commit: ghc] master: Drop pre-AMP compatibility CPP conditionals (2f923ce)

git at git.haskell.org git at git.haskell.org
Thu Dec 31 21:42:01 UTC 2015


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/2f923ce2ab8bad6d01645c735c81bbf1b9ff1e05/ghc

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

commit 2f923ce2ab8bad6d01645c735c81bbf1b9ff1e05
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Thu Dec 31 13:47:43 2015 +0100

    Drop pre-AMP compatibility CPP conditionals
    
    Since GHC 8.1/8.2 only needs to be bootstrap-able by GHC 7.10 and
    GHC 8.0 (and GHC 8.2), we can now finally drop all that pre-AMP
    compatibility CPP-mess for good!
    
    Reviewers: austin, goldfire, bgamari
    
    Subscribers: goldfire, thomie, erikd
    
    Differential Revision: https://phabricator.haskell.org/D1724


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

2f923ce2ab8bad6d01645c735c81bbf1b9ff1e05
 compiler/basicTypes/ConLike.hs                           |  3 ---
 compiler/basicTypes/FieldLabel.hs                        |  6 ------
 compiler/basicTypes/SrcLoc.hs                            |  5 -----
 compiler/cmm/CmmLayoutStack.hs                           |  2 --
 compiler/cmm/CmmLint.hs                                  |  5 +----
 compiler/cmm/PprC.hs                                     |  4 ----
 compiler/codeGen/StgCmmBind.hs                           |  2 --
 compiler/codeGen/StgCmmExpr.hs                           |  2 --
 compiler/codeGen/StgCmmExtCode.hs                        |  5 -----
 compiler/codeGen/StgCmmForeign.hs                        |  4 ----
 compiler/codeGen/StgCmmHeap.hs                           |  2 --
 compiler/codeGen/StgCmmLayout.hs                         |  2 --
 compiler/codeGen/StgCmmPrim.hs                           |  2 --
 compiler/coreSyn/CorePrep.hs                             |  4 ----
 compiler/coreSyn/MkCore.hs                               |  3 ---
 compiler/deSugar/MatchLit.hs                             |  3 ---
 compiler/deSugar/PmExpr.hs                               |  3 ---
 compiler/ghci/ByteCodeAsm.hs                             |  3 ---
 compiler/ghci/ByteCodeGen.hs                             |  4 ----
 compiler/ghci/RtClosureInspect.hs                        |  7 -------
 compiler/hsSyn/Convert.hs                                |  4 ----
 compiler/hsSyn/HsBinds.hs                                |  9 ---------
 compiler/hsSyn/HsDecls.hs                                |  5 -----
 compiler/hsSyn/HsUtils.hs                                |  5 -----
 compiler/iface/TcIface.hs                                |  3 ---
 compiler/llvmGen/LlvmCodeGen/Base.hs                     |  3 ---
 compiler/llvmGen/LlvmCodeGen/CodeGen.hs                  |  4 ----
 compiler/main/CmdLineParser.hs                           |  3 ---
 compiler/main/DynFlags.hs                                |  5 -----
 compiler/main/GHC.hs                                     |  7 +------
 compiler/main/GhcMonad.hs                                |  7 +------
 compiler/main/Packages.hs                                |  3 ---
 compiler/nativeGen/AsmCodeGen.hs                         |  3 ---
 compiler/nativeGen/NCGMonad.hs                           |  3 ---
 compiler/nativeGen/RegAlloc/Linear/State.hs              |  4 ----
 compiler/parser/Lexer.x                                  |  3 ---
 compiler/parser/RdrHsSyn.hs                              |  4 ----
 compiler/prelude/PrelRules.hs                            |  4 ----
 compiler/profiling/SCCfinal.hs                           |  3 ---
 compiler/rename/RnBinds.hs                               |  5 -----
 compiler/rename/RnSource.hs                              |  3 ---
 compiler/rename/RnTypes.hs                               |  4 ----
 compiler/specialise/Specialise.hs                        |  3 ---
 compiler/stgSyn/StgLint.hs                               |  3 ---
 compiler/typecheck/FamInst.hs                            |  5 -----
 compiler/typecheck/FunDeps.hs                            |  6 ------
 compiler/typecheck/TcCanonical.hs                        |  6 ------
 compiler/typecheck/TcErrors.hs                           |  3 ---
 compiler/typecheck/TcEvidence.hs                         |  4 ----
 compiler/typecheck/TcFlatten.hs                          |  3 ---
 compiler/typecheck/TcGenDeriv.hs                         |  3 ---
 compiler/typecheck/TcHsSyn.hs                            |  3 ---
 compiler/typecheck/TcMatches.hs                          |  4 ----
 compiler/typecheck/TcPatSyn.hs                           |  3 ---
 compiler/typecheck/TcSimplify.hs                         |  4 ----
 compiler/typecheck/TcTyClsDecls.hs                       |  3 ---
 compiler/typecheck/TcType.hs                             |  3 ---
 compiler/typecheck/TcTypeNats.hs                         |  6 +-----
 compiler/types/Coercion.hs                               |  6 ------
 compiler/types/InstEnv.hs                                |  3 ---
 compiler/types/Type.hs                                   |  6 ------
 compiler/types/Unify.hs                                  |  3 ---
 compiler/utils/BooleanFormula.hs                         | 10 ++--------
 compiler/utils/FastString.hs                             |  4 ----
 compiler/utils/OrdList.hs                                |  3 ---
 compiler/utils/Pair.hs                                   |  6 ------
 compiler/utils/State.hs                                  |  6 +-----
 compiler/utils/Stream.hs                                 |  6 +-----
 compiler/utils/StringBuffer.hs                           |  4 ----
 compiler/utils/UniqFM.hs                                 |  3 ---
 compiler/utils/Util.hs                                   |  3 ---
 compiler/vectorise/Vectorise/Exp.hs                      |  3 ---
 configure.ac                                             |  4 ++--
 libraries/template-haskell/Language/Haskell/TH/PprLib.hs |  5 +----
 libraries/template-haskell/Language/Haskell/TH/Syntax.hs |  3 ---
 utils/ghc-pkg/Main.hs                                    |  3 ---
 76 files changed, 11 insertions(+), 297 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 2f923ce2ab8bad6d01645c735c81bbf1b9ff1e05


More information about the ghc-commits mailing list