aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2019-03-03 08:34:01 +0100
committerBjörn Gustavsson <[email protected]>2019-03-06 15:42:42 +0100
commit6035ea12396bcd1468e83a3b892180e70fd24df8 (patch)
tree4c0d1ed85352357cbd35eac7af0d5502b61b99af
parent90bf10302a792865cdb0f741e23ca130725e7461 (diff)
downloadotp-6035ea12396bcd1468e83a3b892180e70fd24df8.tar.gz
otp-6035ea12396bcd1468e83a3b892180e70fd24df8.tar.bz2
otp-6035ea12396bcd1468e83a3b892180e70fd24df8.zip
Reclassify get_tuple_element with a Y destination as hot
get_tuple_element with an Y register has become more frequent with the new compiler.
-rw-r--r--erts/emulator/beam/ops.tab6
1 files changed, 1 insertions, 5 deletions
diff --git a/erts/emulator/beam/ops.tab b/erts/emulator/beam/ops.tab
index 81f598d266..79c5afd238 100644
--- a/erts/emulator/beam/ops.tab
+++ b/erts/emulator/beam/ops.tab
@@ -215,11 +215,7 @@ set_tuple_element s S P
# Get tuple element
-i_get_tuple_element xy P x
-
-%cold
-i_get_tuple_element xy P y
-%hot
+i_get_tuple_element xy P xy
i_get_tuple_element2 x P x
i_get_tuple_element2_dst x P x x