diff options
author | Björn Gustavsson <[email protected]> | 2012-11-25 05:59:34 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2012-11-26 14:01:02 +0100 |
commit | c38a6726500cd726dd3e605b3be389ee96df131c (patch) | |
tree | 854ee2297cc393b03865a850234d40834291a6fc /EPLICENCE | |
parent | debb6589b998b37d02a52d55f12a2117b2dd0e38 (diff) | |
download | otp-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 'EPLICENCE')
0 files changed, 0 insertions, 0 deletions