[GHC] #12453: Remove setUnfoldingInfoLazily
GHC
ghc-devs at haskell.org
Wed Aug 3 15:00:06 UTC 2016
#12453: Remove setUnfoldingInfoLazily
-------------------------------------+-------------------------------------
Reporter: mpickering | Owner: mpickering
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.0.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Matthew Pickering <matthewtpickering@…>):
In [changeset:"7a8ef01920731f0afa45f3589fcb4a89d5eb125c/ghc" 7a8ef01/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="7a8ef01920731f0afa45f3589fcb4a89d5eb125c"
Remove `setUnfoldingInfoLazily`
The definition of `setUnfoldingInfoLazily` is exactly the same as
`setUnfoldingInfo` and is only used in one place, `TcIface`.
They were made equivalent in 2010 in
2ff2497dc374175b8ed81446258baf208d1f3e6e with the commit message.
{{{
commit 2ff2497dc374175b8ed81446258baf208d1f3e6e
Author: Ian Lynagh <igloo at earth.li> Wed Oct 20 15:37:10 2010
Committer: Ian Lynagh <igloo at earth.li> Wed Oct 20 15:37:10 2010
Original File: compiler/basicTypes/IdInfo.lhs
Don't seq unfoldings
We generate intermediate unfoldings which are just thrown away, so
evaluating them is a waste of time.
}}}
Closes #12453
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12453#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list