X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Fspecialise%2FSpecialise.lhs;h=3aa94cf791006fdd05c7d45491975fbfda0197ac;hb=df62fe193785e1fc9786a6c7321670f99fa9a37d;hp=67dc39cb23bdd8f63627a3b1f120814131e34578;hpb=fb236fbbea7f12293b030892c6dc866a96566200;p=ghc-hetmet.git diff --git a/compiler/specialise/Specialise.lhs b/compiler/specialise/Specialise.lhs index 67dc39c..3aa94cf 100644 --- a/compiler/specialise/Specialise.lhs +++ b/compiler/specialise/Specialise.lhs @@ -672,7 +672,7 @@ specExpr subst (Case scrut case_bndr ty alts) = do spec_alt (con, args, rhs) = do (rhs', uds) <- specExpr subst_rhs rhs - let (uds', rhs'') = do dumpUDs args uds rhs' + let (uds', rhs'') = dumpUDs args uds rhs' return ((con, args', rhs''), uds') where (subst_rhs, args') = substBndrs subst_alt args @@ -1220,7 +1220,7 @@ cloneBindSM :: Subst -> CoreBind -> SpecM (Subst, Subst, CoreBind) -- Return the substitution to use for RHSs, and the one to use for the body cloneBindSM subst (NonRec bndr rhs) = do us <- getUniqueSupplyM - let (subst', bndr') = do cloneIdBndr subst us bndr + let (subst', bndr') = cloneIdBndr subst us bndr return (subst, subst', NonRec bndr' rhs) cloneBindSM subst (Rec pairs) = do