aboutsummaryrefslogtreecommitdiffstats
path: root/lib/et/src/et_internal.hrl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2017-10-21 07:22:47 +0200
committerBjörn Gustavsson <[email protected]>2017-10-21 07:51:45 +0200
commit19a1af93458ec7a4a252671603d74971f4dec969 (patch)
tree8ada956d105e99a06fd1ef5f0d7ee4dd1f894304 /lib/et/src/et_internal.hrl
parent6753bbcc3fdb0dd15c8025902d22dc4ec8c33575 (diff)
downloadotp-19a1af93458ec7a4a252671603d74971f4dec969.tar.gz
otp-19a1af93458ec7a4a252671603d74971f4dec969.tar.bz2
otp-19a1af93458ec7a4a252671603d74971f4dec969.zip
Optimize instructions for comparing a register with a literal
We can avoid calling eq() from the is_eq_exact_literal/3 and is_ne_exact_literal/3 instructions if the source operand is an immediate (since a literal is either a boxed or a list, never an immediate).
Diffstat (limited to 'lib/et/src/et_internal.hrl')
0 files changed, 0 insertions, 0 deletions