diff options
author | Björn Gustavsson <[email protected]> | 2017-08-18 04:06:52 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2017-08-23 05:57:38 +0200 |
commit | 234ef0eb9803d4c4cfb82848e3d3d14d89d1ddf5 (patch) | |
tree | 06252248a9abafe6cdd6deab5f34e854c7c010d0 /erts/emulator/beam/beam_debug.c | |
parent | cbeeed095739223a425649f6085b6959ad905c83 (diff) | |
download | otp-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/beam_debug.c')
-rw-r--r-- | erts/emulator/beam/beam_debug.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/erts/emulator/beam/beam_debug.c b/erts/emulator/beam/beam_debug.c index 15b18f0667..06b9db2877 100644 --- a/erts/emulator/beam/beam_debug.c +++ b/erts/emulator/beam/beam_debug.c @@ -697,9 +697,9 @@ print_op(fmtfn_t to, void *to_arg, int op, int size, BeamInstr* addr) break; case op_i_put_tuple_xI: case op_i_put_tuple_yI: - case op_new_map_dII: - case op_update_map_assoc_sdII: - case op_update_map_exact_jsdII: + case op_new_map_dtI: + case op_update_map_assoc_sdtI: + case op_update_map_exact_jsdtI: { int n = unpacked[-1]; @@ -719,7 +719,7 @@ print_op(fmtfn_t to, void *to_arg, int op, int size, BeamInstr* addr) } } break; - case op_i_new_small_map_lit_dIq: + case op_i_new_small_map_lit_dtq: { Eterm *tp = tuple_val(unpacked[-1]); int n = arityval(*tp); |