aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/beam_catches.c
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2012-03-30 11:38:37 +0200
committerBjörn Gustavsson <[email protected]>2015-07-03 14:28:03 +0200
commit1f996cc46a8c935b8f4e33a4a96804f9fb852da3 (patch)
tree26e794c2eb7abef2f986124a69fc8231e79b61c9 /erts/emulator/beam/beam_catches.c
parent45f469ca089096c8a59ca53d948d05d1a998386e (diff)
downloadotp-1f996cc46a8c935b8f4e33a4a96804f9fb852da3.tar.gz
otp-1f996cc46a8c935b8f4e33a4a96804f9fb852da3.tar.bz2
otp-1f996cc46a8c935b8f4e33a4a96804f9fb852da3.zip
Store r(0) and x(0) in the same location
As part of improving code generation for clang, we want to eliminate the special variable that stores the content of X register zero most of the time. In a future, that will allow us to eliminate the special case of handling r(0) for most instructions, thus reducing the code size and allow other simplifcations. Therefore, in this commit, eliminate the variable that is used to store r(0) and make r(0) as synonym for x(0). I have chosen to keep the r(0) define to keep the size of the diff managable.
Diffstat (limited to 'erts/emulator/beam/beam_catches.c')
0 files changed, 0 insertions, 0 deletions