diff options
author | Björn Gustavsson <[email protected]> | 2018-11-15 10:21:11 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2018-11-15 14:07:50 +0100 |
commit | 4534b73552bdb405808154f01f9b051cacb4ff3e (patch) | |
tree | 3fff3a75f8ac0c6cf36c9e2ec30f8aa1db39b488 /lib/kernel/include | |
parent | 64a15f2979c4644298cdad1319919fe84103484e (diff) | |
download | otp-4534b73552bdb405808154f01f9b051cacb4ff3e.tar.gz otp-4534b73552bdb405808154f01f9b051cacb4ff3e.tar.bz2 otp-4534b73552bdb405808154f01f9b051cacb4ff3e.zip |
beam_ssa_dead: Speed up optimization of switch instructions
`beam_ssa_dead` can waste a lot of time trying to optimize
an unoptimizable `switch` instruction.
By being a little bit smarter when optimizing `switch` instructions,
the runtime for the beam_ssa_dead pass was reduced approximately by
half on my computer for this module:
https://github.com/aggelgian/cuter/blob/master/src/cuter_binlib.erl
Noticed-by: Kostis Sagonas
Diffstat (limited to 'lib/kernel/include')
0 files changed, 0 insertions, 0 deletions