aboutsummaryrefslogtreecommitdiffstats
path: root/lib/observer
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2012-08-09 15:33:11 +0200
committerBjörn Gustavsson <[email protected]>2012-10-09 10:09:39 +0200
commit34afddc135ff25cefa75aee70b8d09186f78085e (patch)
tree1886f0a3c39b11715f37ae05d4205dec46d48d7d /lib/observer
parent3605e00470d8e04710317b88e135e28082ff27d3 (diff)
downloadotp-34afddc135ff25cefa75aee70b8d09186f78085e.tar.gz
otp-34afddc135ff25cefa75aee70b8d09186f78085e.tar.bz2
otp-34afddc135ff25cefa75aee70b8d09186f78085e.zip
beam_bool: Recognize more safe optimizations
The optimizer of boolean expressions can often reject optimizations that it does not recognize as safe. For instance, if a boolean expression was preceded by 'move' instructions that saved x registers into y registers, it would almost certainly reject the optimization because it required the y register not be used in the code that follows. Fix this problem by allowing identical 'move' instructions that assing to y registers at the beginning of the old and the optimized code. While at it, correct the spelling of "preceding".
Diffstat (limited to 'lib/observer')
0 files changed, 0 insertions, 0 deletions