projects
/
matthijs
/
master-project
/
cλash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0943241
)
Fix typo.
author
Matthijs Kooijman
<matthijs@stdin.nl>
Tue, 1 Sep 2009 19:02:50 +0000
(21:02 +0200)
committer
Matthijs Kooijman
<matthijs@stdin.nl>
Tue, 1 Sep 2009 19:02:50 +0000
(21:02 +0200)
cλash/CLasH/Normalize.hs
patch
|
blob
|
history
diff --git
a/cλash/CLasH/Normalize.hs
b/cλash/CLasH/Normalize.hs
index 6fd6a2e03cb0df3c5e553a57306f294b48e5d1cb..0d352761dbafec889da2345d1b82bc9dab0b4542 100644
(file)
--- a/
cλash/CLasH/Normalize.hs
+++ b/
cλash/CLasH/Normalize.hs
@@
-324,7
+324,7
@@
inlinenonreptop = everywhere ("inlinenonrep", inlinebind ((Monad.liftM not) . is
inlinetoplevel, inlinetopleveltop :: Transform
-- Any system name is candidate for inlining. Never inline user-defined
--- functions, to preserve
r
structure.
+-- functions, to preserve structure.
inlinetoplevel expr@(Var f) | not $ isUserDefined f = do
norm <- isNormalizeable f
-- See if this is a top level binding for which we have a body