diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-10-23 08:59:57 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-10-28 00:29:30 +0900 |
| commit | 71eeb86a9947f73d9dffa870fe329479b306d332 (patch) | |
| tree | f60cef084f7f1ae0121385f322f8f45391d03678 /src/codedump.c | |
| parent | d08205b40d0e86bdd1d436640ff3ac830829884f (diff) | |
| download | mruby-71eeb86a9947f73d9dffa870fe329479b306d332.tar.gz mruby-71eeb86a9947f73d9dffa870fe329479b306d332.zip | |
Format codedump for OP_{LE,LT,GE,GT}.
Diffstat (limited to 'src/codedump.c')
| -rw-r--r-- | src/codedump.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/codedump.c b/src/codedump.c index 1133446a8..7a14a393a 100644 --- a/src/codedump.c +++ b/src/codedump.c @@ -314,22 +314,22 @@ codedump(mrb_state *mrb, mrb_irep *irep) GETARG_C(c)); break; case OP_LT: - printf("OP_LT\tR%d\t:%s\t%d\n", GETARG_A(c), + printf("OP_LT\t\tR%d\t:%s\t%d\n", GETARG_A(c), mrb_sym2name(mrb, irep->syms[GETARG_B(c)]), GETARG_C(c)); break; case OP_LE: - printf("OP_LE\tR%d\t:%s\t%d\n", GETARG_A(c), + printf("OP_LE\t\tR%d\t:%s\t%d\n", GETARG_A(c), mrb_sym2name(mrb, irep->syms[GETARG_B(c)]), GETARG_C(c)); break; case OP_GT: - printf("OP_GT\tR%d\t:%s\t%d\n", GETARG_A(c), + printf("OP_GT\t\tR%d\t:%s\t%d\n", GETARG_A(c), mrb_sym2name(mrb, irep->syms[GETARG_B(c)]), GETARG_C(c)); break; case OP_GE: - printf("OP_GE\tR%d\t:%s\t%d\n", GETARG_A(c), + printf("OP_GE\t\tR%d\t:%s\t%d\n", GETARG_A(c), mrb_sym2name(mrb, irep->syms[GETARG_B(c)]), GETARG_C(c)); break; |
