aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/src/beam_block.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2012-08-14 09:52:51 +0200
committerBjörn Gustavsson <[email protected]>2012-10-09 10:08:58 +0200
commit3605e00470d8e04710317b88e135e28082ff27d3 (patch)
tree0c9add23fe8b6484043e861d393820439dc326fc /lib/compiler/src/beam_block.erl
parentcda99c83652fca9473eadba2608c14e5feffa0a0 (diff)
downloadotp-3605e00470d8e04710317b88e135e28082ff27d3.tar.gz
otp-3605e00470d8e04710317b88e135e28082ff27d3.tar.bz2
otp-3605e00470d8e04710317b88e135e28082ff27d3.zip
beam_utils: Correct usage calculations for GC BIFs in blocks
The usage calculation only looked at the allocation in GC BIFs, not at the source and destination registers. Also, if there is a failure label, make sure that we test whether the register can be used there.
Diffstat (limited to 'lib/compiler/src/beam_block.erl')
0 files changed, 0 insertions, 0 deletions