Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Distinguish OP_R_NORMAL and OP_R_RETURN.
  • 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
Expand Up @@ -239,6 +239,7 @@ codedump(mrb_state *mrb, mrb_irep *irep)
printf("OP_RETURN\tR%d", GETARG_A(c)); printf("OP_RETURN\tR%d", GETARG_A(c));
switch (GETARG_B(c)) { switch (GETARG_B(c)) {
case OP_R_NORMAL: case OP_R_NORMAL:
printf("\tnormal\t"); break;
case OP_R_RETURN: case OP_R_RETURN:
printf("\treturn\t"); break; printf("\treturn\t"); break;
case OP_R_BREAK: case OP_R_BREAK:
Expand Down

0 comments on commit f269d1e

Please sign in to comment.