aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2014-02-19 18:30:35 +0100
committerBjörn-Egil Dahlberg <[email protected]>2014-02-19 18:30:35 +0100
commit8899c393163f9c95a81971e013b57788b33db09c (patch)
tree5df259ad72e11af9a057be543256ce4a95cd9d83 /erts/emulator
parent70d3c4d51f58f0e95fd28f6735cd54cad9ca87ce (diff)
downloadotp-8899c393163f9c95a81971e013b57788b33db09c.tar.gz
otp-8899c393163f9c95a81971e013b57788b33db09c.tar.bz2
otp-8899c393163f9c95a81971e013b57788b33db09c.zip
erts: Fix erts_debug:disassemble/1
Now handles map instructions correctly.
Diffstat (limited to 'erts/emulator')
-rw-r--r--erts/emulator/beam/beam_debug.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/erts/emulator/beam/beam_debug.c b/erts/emulator/beam/beam_debug.c
index e36ec2a93e..a3cd08834f 100644
--- a/erts/emulator/beam/beam_debug.c
+++ b/erts/emulator/beam/beam_debug.c
@@ -635,6 +635,11 @@ print_op(int to, void *to_arg, int op, int size, BeamInstr* addr)
case op_i_put_tuple_rI:
case op_i_put_tuple_xI:
case op_i_put_tuple_yI:
+ case op_new_map_jdII:
+ case op_update_map_assoc_jsdII:
+ case op_update_map_exact_jsdII:
+ case op_i_has_map_fields_fsI:
+ case op_i_get_map_elements_fsI:
{
int n = unpacked[-1];