aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/src/beam_clean.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2015-09-23 12:30:16 +0200
committerBjörn Gustavsson <[email protected]>2015-09-28 10:26:40 +0200
commitb66193afc3fe85072da4631c52c5ccec136caa05 (patch)
tree18fa64027bd9b301c7df8f8d2badefb0ad1e66fc /lib/compiler/src/beam_clean.erl
parentc0c5943c3a2646a3383d974c2a1afcff8c5d16d3 (diff)
downloadotp-b66193afc3fe85072da4631c52c5ccec136caa05.tar.gz
otp-b66193afc3fe85072da4631c52c5ccec136caa05.tar.bz2
otp-b66193afc3fe85072da4631c52c5ccec136caa05.zip
beam_type: Improve optimizations by keeping track of booleans
There is an optimization in beam_block to simplify a select_val on a known boolean value. We can implement this optimization in a cleaner way in beam_type and it will also be applicable in more situations. (When I added the optimization to beam_type without removing the optimization from beam_block, the optimization was applied 66 times.)
Diffstat (limited to 'lib/compiler/src/beam_clean.erl')
0 files changed, 0 insertions, 0 deletions