aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/src/v3_kernel.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2015-02-27 16:32:50 +0100
committerBjörn Gustavsson <[email protected]>2015-03-09 09:41:18 +0100
commit09dfc3ba50174c55733b11db70d444f62b029302 (patch)
tree7e097629b0f6969fe3f73e78e3939354fdd80071 /lib/compiler/src/v3_kernel.erl
parent1f0ae04d3745bf316f620ef35b24f87c0da7c05b (diff)
downloadotp-09dfc3ba50174c55733b11db70d444f62b029302.tar.gz
otp-09dfc3ba50174c55733b11db70d444f62b029302.tar.bz2
otp-09dfc3ba50174c55733b11db70d444f62b029302.zip
beam_type: Use the complete register map when calculating liveness
When calculating the number of live registers for allocation instruction, it is not always safe to start with the number of live registers at the start of the block. We will need to use the register map to know whether there are any holes (dead registers) that are not subsequently filled. If the allocation instruction already has a number of live registers calculated, there is nothing to be gained by raising it.
Diffstat (limited to 'lib/compiler/src/v3_kernel.erl')
0 files changed, 0 insertions, 0 deletions