aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/src/beam_trim.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2015-04-21 15:21:48 +0200
committerBjörn Gustavsson <[email protected]>2015-04-29 12:23:41 +0200
commit61eaa7570811d81e2a91d0126461a2dac22786dc (patch)
treeac883c774e6d0d637e848b9cb0f152b35edcde75 /lib/compiler/src/beam_trim.erl
parent8c32dda686d2b964b08cc4614ba9c445039b3dd9 (diff)
downloadotp-61eaa7570811d81e2a91d0126461a2dac22786dc.tar.gz
otp-61eaa7570811d81e2a91d0126461a2dac22786dc.tar.bz2
otp-61eaa7570811d81e2a91d0126461a2dac22786dc.zip
beam_utils: Be less conservative about liveness for exit instructions
beam_utils used to be overly conservative about liveness for exit instructions such as: call_ext erlang:exit/1 beam_utils would consider all y registers to be used, to avoid overwriting a catch or try tag. That does not seem to be a real risk. However, we miss opportunities for stack trimming if we consider y registers used by an exit instruction.
Diffstat (limited to 'lib/compiler/src/beam_trim.erl')
0 files changed, 0 insertions, 0 deletions