X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Fiface%2FTcIface.lhs;h=2ec9de97a0068681314ab900c7ddfe297787e82b;hp=cecfc0b742fa50f3f743161bdaabbb6cbc302f07;hb=c86161c5cf11de77e911fcb9e1e2bd1f8bd80b42;hpb=2662dbc5b2c30fc11ccb99e7f9b2dba794d680ba diff --git a/compiler/iface/TcIface.lhs b/compiler/iface/TcIface.lhs index cecfc0b..2ec9de9 100644 --- a/compiler/iface/TcIface.lhs +++ b/compiler/iface/TcIface.lhs @@ -1009,14 +1009,11 @@ tcUnfolding name _ _ (IfCoreUnfold if_expr) Nothing -> NoUnfolding Just expr -> mkTopUnfolding expr) } -tcUnfolding name _ _ (IfInlineRule arity sat if_expr) +tcUnfolding name _ _ (IfInlineRule arity unsat_ok if_expr) = do { mb_expr <- tcPragExpr name if_expr ; return (case mb_expr of Nothing -> NoUnfolding - Just expr -> mkInlineRule inl_info expr arity) } - where - inl_info | sat = InlSat - | otherwise = InlUnSat + Just expr -> mkInlineRule unsat_ok expr arity) } tcUnfolding name ty info (IfWrapper arity wkr) = do { mb_wkr_id <- forkM_maybe doc (tcIfaceExtId wkr)