[GHC] #11565: Restore code to handle '-fmax-worker-args' flag
GHC
ghc-devs at haskell.org
Wed Aug 31 13:38:22 UTC 2016
#11565: Restore code to handle '-fmax-worker-args' flag
-------------------------------------+-------------------------------------
Reporter: slyfox | Owner:
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.10.3
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by simonpj):
Yes, it's bad for worker/wrapper to generate a worker function with a vast
number of arguments. Some limit in the worker/wrapper generator would be
a Good Thing.
Should not be too hard. Unlike the old days, we don't need to trim the
strictness signature. In the old days, the strictness signature was used
by importing modules to generate an appropriate wrapper; but now the
wrapper is conveyed by an ordinary inlining. So there is just one place
the choice is made, namely when generating the worker/wrapper split.
I can advise if someone wants to try this
Simon
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11565#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list