Skip to content

Commit

Permalink
Distinguish OP_R_NORMAL and OP_R_RETURN.
Browse files Browse the repository at this point in the history
  • Loading branch information
matz committed May 26, 2017
1 parent e3438f4 commit f269d1e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/codedump.c
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ codedump(mrb_state *mrb, mrb_irep *irep)
printf("OP_RETURN\tR%d", GETARG_A(c));
switch (GETARG_B(c)) {
case OP_R_NORMAL:
printf("\tnormal\t"); break;
case OP_R_RETURN:
printf("\treturn\t"); break;
case OP_R_BREAK:
Expand Down

0 comments on commit f269d1e

Please sign in to comment.