aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/src/rec_env.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2019-01-26 03:58:11 +0100
committerBjörn Gustavsson <[email protected]>2019-01-28 05:51:41 +0100
commit3347d260556cbc04db37db1f0e339bb6f4dbc921 (patch)
tree020db27424801460df24468763451c53fed8a7e3 /lib/compiler/src/rec_env.erl
parent1ea703443fa0bbc3aade0bb61fc96b2f0cf6b84c (diff)
downloadotp-3347d260556cbc04db37db1f0e339bb6f4dbc921.tar.gz
otp-3347d260556cbc04db37db1f0e339bb6f4dbc921.tar.bz2
otp-3347d260556cbc04db37db1f0e339bb6f4dbc921.zip
Speed up ssa_opt_merge_blocks
It is never possible to merge a block ending in a switch with the next block, so it is not necessary to call `beam_ssa:successors/1` in that case. Avoiding the call slightly improves compilation speeds for switches with many branches.
Diffstat (limited to 'lib/compiler/src/rec_env.erl')
0 files changed, 0 insertions, 0 deletions