[GHC] #15651: Check if some auto apply code is dead and remove if appropriate.

GHC ghc-devs at haskell.org
Mon Sep 17 20:45:44 UTC 2018


#15651: Check if some auto apply code is dead and remove if appropriate.
-------------------------------------+-------------------------------------
           Reporter:  AndreasK       |             Owner:  (none)
               Type:  task           |            Status:  new
           Priority:  normal         |         Milestone:  8.6.1
          Component:  Runtime        |           Version:  8.4.3
  System                             |
           Keywords:  Newcomer       |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 There is a whole family of stg_ap_stk_* and stg_stk_save_* functions
 generated in AutoApply.cmm which as far as I can tell is not used anywhere
 in the compiler and can likely be removed.

 In particular this would involve:
 * Stop the code in question from being generated. (utils/genapply)
 * Make sure that doesn't break things. (Validate/Run the testsuite).
 * Grep for stk in the compiler to make sure we don't build calls to these
 in rare circumstances with string concatenation for extra safety.
 * Document the change in patch notes just in case.

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


More information about the ghc-tickets mailing list