summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2021-11-19 18:31:27 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-11-22 11:53:02 -0500
commitf748988bbea1442b898ba107653216543a293b4d (patch)
tree2b3255df640ba03c06baec29dd9a44be8190063b /libraries
parent742d8b6049c30f3b0cd1704d7a34d865bef41712 (diff)
downloadhaskell-f748988bbea1442b898ba107653216543a293b4d.tar.gz
Better wrapper activation calculation
As #20709 showed, GHC could prioritise a wrapper over a SPEC rule, which is potentially very bad. This patch fixes that problem. The fix is is described in Note [Wrapper activation], especially item 4, 4a, and Conclusion. For now, it has a temporary hack (replicating what was there before to make sure that wrappers inline no earlier than phase 2. But it should be temporary; see #19001.
Diffstat (limited to 'libraries')
0 files changed, 0 insertions, 0 deletions