[GHC] #6084: Add stg_ap_pnnv and related call patterns
GHC
ghc-devs at haskell.org
Sat Sep 16 11:27:24 UTC 2017
#6084: Add stg_ap_pnnv and related call patterns
-------------------------------------+-------------------------------------
Reporter: SimonMeier | Owner: simonmar
Type: feature request | Status: closed
Priority: high | Milestone: 7.8.1
Component: Runtime System | Version: 7.7
Resolution: fixed | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking: 8313
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by bgamari):
> On the other hand, I don't see where we'd use those in the body of
`p_entry`. And thus why we'd want to pass them in the first place?
Because this is what the calling convention that the function exposes. If
the functions in `T6084` didn't have `NOINLINE` pragmas then we would have
eliminated these dead arguments during core2core. However, since they do
we are forced to expose precisely the calling convention that the user
wrote.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/6084#comment:38>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list