[commit: ghc] wip/T16039: eta reduce (917078f)

git at git.haskell.org git at git.haskell.org
Thu Dec 27 17:01:56 UTC 2018


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/T16039
Link       : http://ghc.haskell.org/trac/ghc/changeset/917078fbaee32aea575df31a33b9197687774518/ghc

>---------------------------------------------------------------

commit 917078fbaee32aea575df31a33b9197687774518
Author: Gabor Greif <ggreif at gmail.com>
Date:   Fri Dec 14 20:01:11 2018 +0100

    eta reduce


>---------------------------------------------------------------

917078fbaee32aea575df31a33b9197687774518
 compiler/simplCore/SetLevels.hs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/compiler/simplCore/SetLevels.hs b/compiler/simplCore/SetLevels.hs
index 87e0e18..0a563a1 100644
--- a/compiler/simplCore/SetLevels.hs
+++ b/compiler/simplCore/SetLevels.hs
@@ -563,8 +563,8 @@ lvlNonTailMFE :: LevelEnv             -- Level of in-scope names/tyvars
                                       --   or let]
               -> CoreExprWithFVs      -- input expression
               -> LvlM LevelledExpr    -- Result expression
-lvlNonTailMFE env strict_ctxt ann_expr
-  = lvlMFE (placeJoinCeiling env) strict_ctxt ann_expr
+lvlNonTailMFE env
+  = lvlMFE (placeJoinCeiling env)
 
 lvlMFE ::  LevelEnv             -- Level of in-scope names/tyvars
         -> Bool                 -- True <=> strict context [body of case or let]



More information about the ghc-commits mailing list