X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2Fghci%2FByteCodeGen.lhs;fp=ghc%2Fcompiler%2Fghci%2FByteCodeGen.lhs;h=9335fd5f44cccffda907ac74d37863ace52b57f0;hb=91944423d83620441d6d3b120654a10fb41cfb3c;hp=a4dd7ceac93be1d5ab3f7d60c89d657f62d0e7a6;hpb=69ccf53d0e15365947c88b9607c3df0651052ed2;p=ghc-hetmet.git diff --git a/ghc/compiler/ghci/ByteCodeGen.lhs b/ghc/compiler/ghci/ByteCodeGen.lhs index a4dd7ce..9335fd5 100644 --- a/ghc/compiler/ghci/ByteCodeGen.lhs +++ b/ghc/compiler/ghci/ByteCodeGen.lhs @@ -67,13 +67,10 @@ import Data.Char ( ord, chr ) byteCodeGen :: DynFlags -> [CoreBind] - -> TypeEnv + -> [TyCon] -> IO CompiledByteCode -byteCodeGen dflags binds type_env +byteCodeGen dflags binds tycs = do showPass dflags "ByteCodeGen" - let local_tycons = typeEnvTyCons type_env - local_classes = typeEnvClasses type_env - tycs = local_tycons ++ map classTyCon local_classes let flatBinds = [ (bndr, freeVars rhs) | (bndr, rhs) <- flattenBinds binds]