[GHC] #8199: Get rid of HEAP_ALLOCED

GHC ghc-devs at haskell.org
Thu Oct 2 06:10:47 UTC 2014


#8199: Get rid of HEAP_ALLOCED
-------------------------------------+-------------------------------------
              Reporter:  ezyang      |            Owner:  ezyang
                  Type:  feature     |           Status:  new
  request                            |        Milestone:  7.10.1
              Priority:  normal      |          Version:  7.7
             Component:  Compiler    |         Keywords:
            Resolution:              |     Architecture:  Unknown/Multiple
      Operating System:              |       Difficulty:  Project (more
  Unknown/Multiple                   |  than a week)
       Type of failure:              |       Blocked By:  5435
  None/Unknown                       |  Related Tickets:
             Test Case:              |
              Blocking:              |
Differential Revisions:  D207        |
-------------------------------------+-------------------------------------

Comment (by Edward Z. Yang <ezyang@…>):

 In [changeset:"3b5a840bba375c4c4c11ccfeb283f84c3a1ef22c/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="3b5a840bba375c4c4c11ccfeb283f84c3a1ef22c"
 BC-breaking changes to C-- CLOSURE syntax.

 Summary:
 Previously, there were two variants of CLOSURE in C--:

     - Top-level CLOSURE(foo_closure, foo, lits...), which defines a new
       static closure and gives it a name, and

     - Array CLOSURE(foo, lits...), which was used for the static char
       and integer arrays.

 They used the same name, were confusing, and didn't even generate
 the correct internal label representation!  So now, we have two
 new forms:

     - Top-level CLOSURE(foo, lits...) which automatically generates
       foo_closure (along with foo_info, which we were doing already)

     - Array ANONYMOUS_CLOSURE(foo, lits...) which doesn't generate
       a foo_closure identifier.

 Part of remove HEAP_ALLOCED patch set (#8199)

 Signed-off-by: Edward Z. Yang <ezyang at mit.edu>

 Test Plan: validate

 Reviewers: simonmar, austin

 Subscribers: simonmar, ezyang, carter, thomie

 Differential Revision: https://phabricator.haskell.org/D264

 GHC Trac Issues: #8199
 }}}

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


More information about the ghc-tickets mailing list