projects
/
matthijs
/
master-project
/
cλash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
No longer any need to explicitly load module interface in 'toCore'
[matthijs/master-project/cλash.git]
/
CoreTools.hs
diff --git
a/CoreTools.hs
b/CoreTools.hs
index 3bfe1a156dfc89826e6070d7255a854ad514add6..3a028195634a61100e47ae9322df72138688e8e9 100644
(file)
--- a/
CoreTools.hs
+++ b/
CoreTools.hs
@@
-57,9
+57,7
@@
eval_tfp_int env ty =
let letexpr = HsExpr.HsLet
(HsBinds.HsValBinds $ (HsBinds.ValBindsIn binds) [])
(SrcLoc.noLoc expr)
let letexpr = HsExpr.HsLet
(HsBinds.HsValBinds $ (HsBinds.ValBindsIn binds) [])
(SrcLoc.noLoc expr)
-
- let modules = map GHC.mkModuleName ["Types.Data.Num"]
- core <- toCore modules expr
+ core <- toCore expr
execCore core
normalise_tfp_int :: HscTypes.HscEnv -> Type.Type -> Type.Type
execCore core
normalise_tfp_int :: HscTypes.HscEnv -> Type.Type -> Type.Type