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

[project @ 1998-07-09 10:06:57 by simonpj]

Put IMustBeINLINEd on constructors
parent fed13cf4
No related merge requests found
......@@ -177,8 +177,10 @@ Notice that
dataConInfo :: Id -> IdInfo
dataConInfo con_id
= setInlinePragInfo IWantToBeINLINEd $
-- Always inline constructors if possible
= setInlinePragInfo IMustBeINLINEd $
-- Always inline constructors; we don't create a binding for them
-- (well, at least not for dict constructors, since they are
-- always applied)
setArityInfo (exactArity (length locals)) $
setUnfoldingInfo unfolding $
noIdInfo
......
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