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
Let vhld_ty handle free tyvars gracefully.
[matthijs/master-project/cλash.git]
/
cλash
/
CLasH
/
Utils
/
GhcTools.hs
diff --git
a/cλash/CLasH/Utils/GhcTools.hs
b/cλash/CLasH/Utils/GhcTools.hs
index 9139c786d13c13c01674531a5eecdda3fb0477e2..6e9a6dca85e57039159e2d925da536023cc59933 100644
(file)
--- a/
cλash/CLasH/Utils/GhcTools.hs
+++ b/
cλash/CLasH/Utils/GhcTools.hs
@@
-89,7
+89,7
@@
loadModules libdir filenames finder =
GHC.runGhc (Just libdir) $ do
dflags <- GHC.getSessionDynFlags
GHC.setSessionDynFlags dflags
GHC.runGhc (Just libdir) $ do
dflags <- GHC.getSessionDynFlags
GHC.setSessionDynFlags dflags
- cores <- mapM GHC.compileToCore
Simplified
filenames
+ cores <- mapM GHC.compileToCore
Module
filenames
env <- GHC.getSession
specs <- case finder of
Nothing -> return []
env <- GHC.getSession
specs <- case finder of
Nothing -> return []