Skip to content
Snippets Groups Projects
Commit 9ad4f0b9 authored by Simon Peyton Jones's avatar Simon Peyton Jones
Browse files

Switch around the order of guards in exprIsConApp_maybe

This is a vital wibble to:
 f7cf3dcd * Be a bit less gung-ho in exprIsConApp_maybe
parent e8c88279
No related branches found
No related tags found
No related merge requests found
......@@ -1202,8 +1202,8 @@ exprIsConApp_maybe id_unf expr
-- and that is the business of callSiteInline.
-- In practice, without this test, most of the "hits" were
-- CPR'd workers getting inlined back into their wrappers,
| unfoldingArity unfolding == 0
, Just rhs <- expandUnfolding_maybe unfolding
| Just rhs <- expandUnfolding_maybe unfolding
, unfoldingArity unfolding == 0
, let in_scope' = extendInScopeSetSet in_scope (exprFreeVars rhs)
= go (Left in_scope') rhs cont
where
......
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