aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2010-11-19 10:47:05 +0100
committerBjörn Gustavsson <[email protected]>2011-01-17 15:23:43 +0100
commita24830ce9db4325b51af56262094bb1d32ef4e2b (patch)
treefafef472a8d072fb109ee49e421421bbda451c17 /lib
parent0c44ee46cd9f108599aad58c7f0f62b34dad0615 (diff)
downloadotp-a24830ce9db4325b51af56262094bb1d32ef4e2b.tar.gz
otp-a24830ce9db4325b51af56262094bb1d32ef4e2b.tar.bz2
otp-a24830ce9db4325b51af56262094bb1d32ef4e2b.zip
beam_emu: Eliminate sloppy use of tmp_arg1 and tmp_arg2
The tmp_arg1 and tmp_arg2 variables are intended for transferring values from the fetch/2 instructions to instructions such as i_plus/3. In many places, however, tmp_arg1 and tmp_arg2 are used as general temporary variables within a single instruction. Improve the code generation by replacing sloppy use of tmp_arg1 and tmp_arg2 with block-local variables. In most cases, that will allow the temporary values to be kept in registers.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions