aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe/rtl/hipe_rtl_liveness.erl
diff options
context:
space:
mode:
authorKostis Sagonas <[email protected]>2013-03-10 19:06:07 +0100
committerKostis Sagonas <[email protected]>2013-03-10 19:06:07 +0100
commit3d98819b66ed080bea199a5f33984d3213ef97f2 (patch)
treec31a1dd50f10afd95aa7737e6097649dad8fb8a7 /lib/hipe/rtl/hipe_rtl_liveness.erl
parent0df9dd3ea4c26731dc18d33cc9ef41c2de5f6361 (diff)
downloadotp-3d98819b66ed080bea199a5f33984d3213ef97f2.tar.gz
otp-3d98819b66ed080bea199a5f33984d3213ef97f2.tar.bz2
otp-3d98819b66ed080bea199a5f33984d3213ef97f2.zip
Fix handling of bs_match_string translation
Prior to R16B, the bs_match_string instruction worked only for cases that had a destination variable. As shown by the example below, this is not always the case and the Dst list can be empty. test(<<42, _/bits>> = B) -> B. This fixes a bug reported by Loïc Hoguin (02/12/2013); the original post used a different code example to illustrate the problem. While revising the code, a significant clean up was also performed.
Diffstat (limited to 'lib/hipe/rtl/hipe_rtl_liveness.erl')
0 files changed, 0 insertions, 0 deletions