Commit e3873a5e authored by simonpj's avatar simonpj
Browse files

[project @ 2001-02-20 15:37:42 by simonpj]

Add another assert
parent db7041f7
......@@ -571,7 +571,9 @@ callSiteInline dflags black_listed inline_call occ id arg_infos interesting_cont
-- Note: there used to be a '&& not top_level' in the guard above,
-- but that stopped us inlining top-level functions used only once,
-- which is stupid
= not in_lam || not (null arg_infos) || interesting_cont
= WARN( not in_lam, ppr id ) -- If (not in_lam) && one_br then PreInlineUnconditionally
-- should have caught it, shouldn't it?
not (null arg_infos) || interesting_cont
| otherwise
= case guidance of
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment