X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=sidebyside;f=compiler%2FsimplCore%2FFloatOut.lhs;h=41797746e187d3b8d63276336f9da5f17d89dd60;hb=30c122df62ec75f9ed7f392f24c2925675bf1d06;hp=2af48bde13c172814d0cba2abcb65d47857a61a5;hpb=7fc749a43b4b6b85d234fa95d4928648259584f4;p=ghc-hetmet.git diff --git a/compiler/simplCore/FloatOut.lhs b/compiler/simplCore/FloatOut.lhs index 2af48bd..4179774 100644 --- a/compiler/simplCore/FloatOut.lhs +++ b/compiler/simplCore/FloatOut.lhs @@ -31,6 +31,7 @@ import SetLevels ( Level(..), LevelledExpr, LevelledBind, import UniqSupply ( UniqSupply ) import List ( partition ) import Outputable +import FastString \end{code} ----------------- @@ -321,7 +322,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) - (fs, [], Note InlineMe (install floating_defns expr')) } -- See notes in SetLevels + (fs, [], Note InlineMe (install floating_defns expr')) } + -- See Note [FloatOut inside INLINE] in SetLevels + -- 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') ->