aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2017-08-18 09:03:05 +0200
committerBjörn Gustavsson <[email protected]>2017-08-23 05:57:39 +0200
commit5725b59f0c14a3bdc665f8543a30a8a5985a3d3b (patch)
treeebc7cc27e5ba144aeac0c3d7128f8823b2db8b13 /erts
parent0848894878ef90b1c6d81e4a6e2741508d0b99f5 (diff)
downloadotp-5725b59f0c14a3bdc665f8543a30a8a5985a3d3b.tar.gz
otp-5725b59f0c14a3bdc665f8543a30a8a5985a3d3b.tar.bz2
otp-5725b59f0c14a3bdc665f8543a30a8a5985a3d3b.zip
Pack cold instructions too
Cold instructions used to be cooler (less frequently executed), so it did not seem worthwhile to pack their operands. Now bit syntax instructions are included among the cold instructions, and they are frequently used.
Diffstat (limited to 'erts')
-rwxr-xr-xerts/emulator/utils/beam_makeops2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/utils/beam_makeops b/erts/emulator/utils/beam_makeops
index 5f8395a289..fcbd3de4c1 100755
--- a/erts/emulator/utils/beam_makeops
+++ b/erts/emulator/utils/beam_makeops
@@ -578,7 +578,7 @@ sub emulator_output {
# for the emulator.
#
my($size, $code, $pack) =
- basic_generator($name, $hot, '', 0, undef, @args);
+ basic_generator($name, 1, '', 0, undef, @args);
#
# Save the generated $code for later.