projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix egregious error in earlier "Record evaluated-ness" patch
[ghc-hetmet.git]
/
compiler
/
simplCore
/
FloatOut.lhs
diff --git
a/compiler/simplCore/FloatOut.lhs
b/compiler/simplCore/FloatOut.lhs
index
2af48bd
..
7cac08d
100644
(file)
--- a/
compiler/simplCore/FloatOut.lhs
+++ b/
compiler/simplCore/FloatOut.lhs
@@
-321,7
+321,9
@@
floatExpr lvl (Note InlineMe expr) -- Other than SCCs
-- more efficient to test once here than to avoid putting
-- them into floating_defns (which would mean testing for
-- inlineCtxt at every let)
-- more efficient to test once here than to avoid putting
-- them into floating_defns (which would mean testing for
-- inlineCtxt at every let)
- (fs, [], Note InlineMe (install floating_defns expr')) } -- See notes in SetLevels
+ (fs, [], Note InlineMe (install floating_defns expr')) }
+ -- See Note [FloatOut inside INLINE]
+ -- I'm guessing that floating_dens should be empty
floatExpr lvl (Note note expr) -- Other than SCCs
= case (floatExpr lvl expr) of { (fs, floating_defns, expr') ->
floatExpr lvl (Note note expr) -- Other than SCCs
= case (floatExpr lvl expr) of { (fs, floating_defns, expr') ->