[GHC] #10419: Refactor LoadIface to distinguish getting a ModIface versus loading into EPT

GHC ghc-devs at haskell.org
Thu May 28 17:25:26 UTC 2015


#10419: Refactor LoadIface to distinguish getting a ModIface versus loading into
EPT
-------------------------------------+-------------------------------------
        Reporter:  ezyang            |                   Owner:  ezyang
            Type:  task              |                  Status:  closed
        Priority:  normal            |               Milestone:
       Component:  Compiler (Type    |                 Version:  7.11
  checker)                           |                Keywords:
      Resolution:  invalid           |            Architecture:
Operating System:  Unknown/Multiple  |  Unknown/Multiple
 Type of failure:  None/Unknown      |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------

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

 In [changeset:"640fe14255706ab9c6a1fa101d9b05dfabdc6556/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="640fe14255706ab9c6a1fa101d9b05dfabdc6556"
 Remove unnecessary loadInterface for TH quoted name.

 Summary:
 The load was introduced a32d3e4da0aceb624c958f02cad7327e17ac94db
 to fix a bug where deprecations assumed that the name in question
 had already had their interface loaded.  The new deprecation
 code no longer makes this assumption and just loads the interface,
 so this eager load is not necessary.

 Verified that TH_reifyType2 continues to work.

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

 Test Plan: validate

 Reviewers: simonpj, austin

 Subscribers: bgamari, thomie

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

 GHC Trac Issues: #10419
 }}}

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


More information about the ghc-tickets mailing list