Skip to content
Snippets Groups Projects
Commit d2cf1d40 authored by sof's avatar sof
Browse files

[project @ 1998-03-20 13:59:05 by sof]

isInlinableOcc: add case for DeadCode
parent 564c3082
No related merge requests found
......@@ -135,6 +135,7 @@ isInlinableOcc whnf small (ManyOcc _)
isInlinableOcc whnf small (OneOcc _ dup_danger _ n_alts _)
= (whnf || (case dup_danger of {NoDupDanger -> True; other -> False}))
&& (small || n_alts <= 1)
isInlinableOcc _ _ DeadCode = False
isDeadOcc :: BinderInfo -> Bool
isDeadOcc DeadCode = True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment