summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorklebinger.andreas@gmx.at <klebinger.andreas@gmx.at>2019-04-02 14:20:12 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-04-03 00:34:57 -0400
commit5a75ccd0993ff2fdf827824e28ae7db4ad9c25ad (patch)
treeefae16bdc9be651f85148a6ef68fc38d2664215b /docs
parentbf73419518ca550e85188616f860961c7e2a336b (diff)
downloadhaskell-5a75ccd0993ff2fdf827824e28ae7db4ad9c25ad.tar.gz
Fix faulty substitutions in StgCse (#11532).
`substBndr` should rename bindings which shadow existing ids. However while it was renaming the bindings it was not adding proper substitutions for renamed bindings. Instead of adding a substitution of the form `old -> new` for renamed bindings it mistakenly added `old -> old` if no replacement had taken place while adding none if `old` had been renamed. As a byproduct this should improve performance, as we no longer add useless substitutions for unshadowed bindings.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions