projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2005-04-28 16:05:54 by simonpj]
[ghc-hetmet.git]
/
ghc
/
compiler
/
ghci
/
ByteCodeGen.lhs
diff --git
a/ghc/compiler/ghci/ByteCodeGen.lhs
b/ghc/compiler/ghci/ByteCodeGen.lhs
index
a4dd7ce
..
9335fd5
100644
(file)
--- a/
ghc/compiler/ghci/ByteCodeGen.lhs
+++ b/
ghc/compiler/ghci/ByteCodeGen.lhs
@@
-67,13
+67,10
@@
import Data.Char ( ord, chr )
byteCodeGen :: DynFlags
-> [CoreBind]
byteCodeGen :: DynFlags
-> [CoreBind]
- -> TypeEnv
+ -> [TyCon]
-> IO CompiledByteCode
-> IO CompiledByteCode
-byteCodeGen dflags binds type_env
+byteCodeGen dflags binds tycs
= do showPass dflags "ByteCodeGen"
= 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]
let flatBinds = [ (bndr, freeVars rhs)
| (bndr, rhs) <- flattenBinds binds]