diff options
author | Shea Levy <shea@shealevy.com> | 2016-12-17 20:08:58 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2016-12-17 20:58:35 -0500 |
commit | 52ba9470a7e85d025dc84a6789aa809cdd68b566 (patch) | |
tree | eedb856723fb2dc0101b946af3702e6c6aee18da /compiler/ghci/ByteCodeGen.hs | |
parent | e0fe7c3131c4a18ddd9dd9f2afdd46cafc8cd7ae (diff) | |
download | haskell-52ba9470a7e85d025dc84a6789aa809cdd68b566.tar.gz |
Allow use of the external interpreter in stage1.
Now that we have -fexternal-interpreter, we can lose most of the GHCI ifdefs.
Reviewers: simonmar, goldfire, austin, hvr, bgamari
Reviewed By: simonmar
Subscribers: RyanGlScott, mpickering, angerman, thomie
Differential Revision: https://phabricator.haskell.org/D2826
Diffstat (limited to 'compiler/ghci/ByteCodeGen.hs')
-rw-r--r-- | compiler/ghci/ByteCodeGen.hs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/ghci/ByteCodeGen.hs b/compiler/ghci/ByteCodeGen.hs index 0e7aea493e..9a5e4141f1 100644 --- a/compiler/ghci/ByteCodeGen.hs +++ b/compiler/ghci/ByteCodeGen.hs @@ -66,7 +66,11 @@ import qualified Data.Map as Map import qualified Data.IntMap as IntMap import qualified FiniteMap as Map import Data.Ord +#if MIN_VERSION_base(4,9,0) import GHC.Stack.CCS +#else +import GHC.Stack as GHC.Stack.CCS +#endif -- ----------------------------------------------------------------------------- -- Generating byte code for a complete module |