Allow use of the external interpreter in stage1.
authorShea Levy <shea@shealevy.com>
Tue, 20 Dec 2016 01:19:18 +0000 (01:19 +0000)
committerTamar Christina <tamar@zhox.com>
Tue, 20 Dec 2016 01:25:48 +0000 (01:25 +0000)
commit27f79255634d9789f367273504545c1ebfad90a0
tree9d2977cd52f18abcc824dae743ec7c4a3e6f04c0
parentc0c1f801f4ca26f1db68ac527341a1cf051cb7d6
Allow use of the external interpreter in stage1.

Summary:
Now that we have -fexternal-interpreter, we can lose most of the GHCI ifdefs.

This was originally added in https://phabricator.haskell.org/D2826
but that led to a compatibility issue with ghc 7.10.x on Windows.
That's fixed here and the revert reverted.

Reviewers: goldfire, hvr, austin, bgamari, Phyx

Reviewed By: Phyx

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D2884

GHC Trac Issues: #13008
33 files changed:
compiler/deSugar/Coverage.hs
compiler/ghc.cabal.in
compiler/ghci/ByteCodeGen.hs
compiler/ghci/ByteCodeInstr.hs
compiler/ghci/ByteCodeTypes.hs
compiler/ghci/GHCi.hsc [moved from compiler/ghci/GHCi.hs with 95% similarity]
compiler/ghci/Linker.hs
compiler/hsSyn/HsExpr.hs
compiler/main/DriverPipeline.hs
compiler/main/DynFlags.hs
compiler/main/GHC.hs
compiler/main/GhcMake.hs
compiler/main/Hooks.hs
compiler/main/HscMain.hs
compiler/main/HscTypes.hs
compiler/main/InteractiveEval.hs
compiler/main/InteractiveEvalTypes.hs
compiler/rename/RnEnv.hs
compiler/rename/RnSplice.hs
compiler/simplCore/CoreMonad.hs
compiler/specialise/SpecConstr.hs
compiler/typecheck/TcAnnotations.hs
compiler/typecheck/TcRnDriver.hs
compiler/typecheck/TcRnMonad.hs
compiler/typecheck/TcRnTypes.hs
compiler/typecheck/TcSplice.hs
compiler/typecheck/TcSplice.hs-boot
ghc.mk
libraries/ghci/GHCi/BreakArray.hs
libraries/ghci/GHCi/InfoTable.hsc
libraries/ghci/GHCi/Message.hs
libraries/ghci/GHCi/Run.hs
libraries/ghci/ghci.cabal.in