aboutsummaryrefslogtreecommitdiffstats
path: root/erl-build-tool-vars.sh
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2012-11-25 05:59:34 +0100
committerBjörn Gustavsson <[email protected]>2012-11-26 14:01:02 +0100
commitc38a6726500cd726dd3e605b3be389ee96df131c (patch)
tree854ee2297cc393b03865a850234d40834291a6fc /erl-build-tool-vars.sh
parentdebb6589b998b37d02a52d55f12a2117b2dd0e38 (diff)
downloadotp-c38a6726500cd726dd3e605b3be389ee96df131c.tar.gz
otp-c38a6726500cd726dd3e605b3be389ee96df131c.tar.bz2
otp-c38a6726500cd726dd3e605b3be389ee96df131c.zip
beam_bsm: Improve handling of bs_start_match2 instructions
The handling of bs_start_match2 was both too conservative and too careless. It was too conservative in that would not do the optimization if the were copies of the match state in other registers. It was careless in that it did not consider the failure branch. Reorganize the code and fix both these issues. Add a test case to test that the failure branch is considered.
Diffstat (limited to 'erl-build-tool-vars.sh')
0 files changed, 0 insertions, 0 deletions