diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-05-26 11:23:27 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-05-26 11:23:27 +0900 |
| commit | f269d1eb4009877765298242754b428a241f642b (patch) | |
| tree | a0d40e9cebbf31f2d96193ea1ad86437dbd461fe /src/codedump.c | |
| parent | e3438f404a64676e4b1bc77a5f103fa858109286 (diff) | |
| download | mruby-f269d1eb4009877765298242754b428a241f642b.tar.gz mruby-f269d1eb4009877765298242754b428a241f642b.zip | |
Distinguish OP_R_NORMAL and OP_R_RETURN.
Diffstat (limited to 'src/codedump.c')
| -rw-r--r-- | src/codedump.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/codedump.c b/src/codedump.c index c4cb06f46..6b2c43b48 100644 --- a/src/codedump.c +++ b/src/codedump.c @@ -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: |
