[GHC] #10844: CallStack should not be inlined

GHC ghc-devs at haskell.org
Thu Oct 15 23:05:10 UTC 2015


#10844: CallStack should not be inlined
-------------------------------------+-------------------------------------
        Reporter:  nomeata           |                Owner:  gridaphobe
            Type:  task              |               Status:  patch
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.10.2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D1259
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 Why doeesn't `foldr/build` fire? Becuase `build` isn't CONLIKE.

 You want `cheapBuild`; see #7206.  It's parked there, because it wasn't
 always a win; but you could use it for this narrower case.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10844#comment:16>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list