aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/ops.tab
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2017-08-18 04:06:52 +0200
committerBjörn Gustavsson <[email protected]>2017-08-23 05:57:38 +0200
commit234ef0eb9803d4c4cfb82848e3d3d14d89d1ddf5 (patch)
tree06252248a9abafe6cdd6deab5f34e854c7c010d0 /erts/emulator/beam/ops.tab
parentcbeeed095739223a425649f6085b6959ad905c83 (diff)
downloadotp-234ef0eb9803d4c4cfb82848e3d3d14d89d1ddf5.tar.gz
otp-234ef0eb9803d4c4cfb82848e3d3d14d89d1ddf5.tar.bz2
otp-234ef0eb9803d4c4cfb82848e3d3d14d89d1ddf5.zip
Make map update instruction functions indepedent of instruction format
Having the helper functions for map update knowing all the details of operands for the instruction will make it difficult to make improvements such as better packing.
Diffstat (limited to 'erts/emulator/beam/ops.tab')
-rw-r--r--erts/emulator/beam/ops.tab8
1 files changed, 4 insertions, 4 deletions
diff --git a/erts/emulator/beam/ops.tab b/erts/emulator/beam/ops.tab
index 09fad05ffd..deee1a4de9 100644
--- a/erts/emulator/beam/ops.tab
+++ b/erts/emulator/beam/ops.tab
@@ -1357,10 +1357,10 @@ sorted_put_map_exact F Src Dst Live Size Rest=* => \
new_map Dst Live Size Rest=* | is_small_map_literal_keys(Size, Rest) => \
gen_new_small_map_lit(Dst, Live, Size, Rest)
-new_map d I I
-i_new_small_map_lit d I q
-update_map_assoc s d I I
-update_map_exact j s d I I
+new_map d t I
+i_new_small_map_lit d t q
+update_map_assoc s d t I
+update_map_exact j s d t I
is_map Fail Lit=q | literal_is_map(Lit) =>
is_map Fail cq => jump Fail