[GHC] #4417: Quasiquoting without bloating

GHC ghc-devs at haskell.org
Mon Apr 17 12:57:00 UTC 2017


#4417: Quasiquoting without bloating
-------------------------------------+---------------------------------
        Reporter:  rrnewton          |         Owner:  simonmar
            Type:  feature request   |        Status:  closed
        Priority:  high              |     Milestone:  7.4.1
       Component:  Compiler          |       Version:  6.13
      Resolution:  fixed             |      Keywords:  executable size
Operating System:  Unknown/Multiple  |  Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown      |     Test Case:
      Blocked By:                    |      Blocking:
 Related Tickets:                    |
-------------------------------------+---------------------------------

Comment (by Sergei Trofimovich <slyfox@…>):

 In [changeset:"a92ff5d66182d992d02dfaad4c446ad074582368/ghc"
 a92ff5d6/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="a92ff5d66182d992d02dfaad4c446ad074582368"
 hs_add_root() RTS API removal

 Before ghc-7.2 hs_add_root() had to be used to initialize haskell
 modules when haskell was called from FFI.

 commit a52ff7619e8b7d74a9d933d922eeea49f580bca8
 ("Change the way module initialisation is done (#3252, #4417)")
 removed needs for hs_add_root() and made function a no-op.
 For backward compatibility '__stginit_<module>' symbol was
 not removed.

 This change removes no-op hs_add_root() function and unused
 '__stginit_<module>' symbol from each haskell module.

 Signed-off-by: Sergei Trofimovich <slyfox at gentoo.org>

 Test Plan: ./validate

 Reviewers: simonmar, austin, bgamari, erikd

 Reviewed By: simonmar

 Subscribers: rwbarton, thomie

 Differential Revision: https://phabricator.haskell.org/D3460
 }}}

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


More information about the ghc-tickets mailing list