aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/beam_debug.c
diff options
context:
space:
mode:
authorBjörn Gustavsson <bjorn@erlang.org>2010-12-07 14:34:28 +0100
committerBjörn Gustavsson <bjorn@erlang.org>2011-01-17 15:23:43 +0100
commit2233398336a35c7160e82efa8ee218a4277739cf (patch)
tree477c94e524d0c4f9f121e355de1ec966dab1ed9a /erts/emulator/beam/beam_debug.c
parent55eef00e9e0331bddd277194509c6094e8306211 (diff)
downloadotp-2233398336a35c7160e82efa8ee218a4277739cf.tar.gz
otp-2233398336a35c7160e82efa8ee218a4277739cf.tar.bz2
otp-2233398336a35c7160e82efa8ee218a4277739cf.zip
Eliminate use of GetArg1() in the jump_on_val* instructions
Diffstat (limited to 'erts/emulator/beam/beam_debug.c')
-rw-r--r--erts/emulator/beam/beam_debug.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/erts/emulator/beam/beam_debug.c b/erts/emulator/beam/beam_debug.c
index 46b831fa88..2855241b91 100644
--- a/erts/emulator/beam/beam_debug.c
+++ b/erts/emulator/beam/beam_debug.c
@@ -584,7 +584,9 @@ print_op(int to, void *to_arg, int op, int size, BeamInstr* addr)
}
}
break;
- case op_i_jump_on_val_sfII:
+ case op_i_jump_on_val_rfII:
+ case op_i_jump_on_val_xfII:
+ case op_i_jump_on_val_yfII:
{
int n;
for (n = ap[-2]; n > 0; n--) {
@@ -594,7 +596,9 @@ print_op(int to, void *to_arg, int op, int size, BeamInstr* addr)
}
}
break;
- case op_i_jump_on_val_zero_sfI:
+ case op_i_jump_on_val_zero_rfI:
+ case op_i_jump_on_val_zero_xfI:
+ case op_i_jump_on_val_zero_yfI:
{
int n;
for (n = ap[-1]; n > 0; n--) {