diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-09-20 17:33:07 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-09-20 17:33:07 +0900 |
| commit | 8be78dbf9d41a7cbe5c6228ec872a787de0f5adc (patch) | |
| tree | e871f9f5abbc1e40fd5295340468165c248d78b0 /src | |
| parent | c29822f80ccb002a7b3e07fd46c0fa9a260cd4f4 (diff) | |
| download | mruby-8be78dbf9d41a7cbe5c6228ec872a787de0f5adc.tar.gz mruby-8be78dbf9d41a7cbe5c6228ec872a787de0f5adc.zip | |
codedump.c: add cosmetic tabs before variable labels.
Diffstat (limited to 'src')
| -rw-r--r-- | src/codedump.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/codedump.c b/src/codedump.c index ab5804e20..431771ca9 100644 --- a/src/codedump.c +++ b/src/codedump.c @@ -310,7 +310,7 @@ codedump(mrb_state *mrb, const mrb_irep *irep) printf("OP_SUPER\tR%d\t%d\n", a, b); break; CASE(OP_ARGARY, BS): - printf("OP_ARGARY\tR%d\t%d:%d:%d:%d (%d)", a, + printf("OP_ARGARY\tR%d\t%d:%d:%d:%d (%d)\t", a, (b>>11)&0x3f, (b>>10)&0x1, (b>>5)&0x1f, @@ -352,7 +352,7 @@ codedump(mrb_state *mrb, const mrb_irep *irep) print_lv_a(mrb, irep, a); break; CASE(OP_BLKPUSH, BS): - printf("OP_BLKPUSH\tR%d\t%d:%d:%d:%d (%d)", a, + printf("OP_BLKPUSH\tR%d\t%d:%d:%d:%d (%d)\t", a, (b>>11)&0x3f, (b>>10)&0x1, (b>>5)&0x1f, @@ -388,14 +388,14 @@ codedump(mrb_state *mrb, const mrb_irep *irep) printf("OP_ADD\tR%d\tR%d\n", a, a+1); break; CASE(OP_ADDI, BB): - printf("OP_ADDI\tR%d\t%d", a, b); + printf("OP_ADDI\tR%d\t%d\t", a, b); print_lv_a(mrb, irep, a); break; CASE(OP_SUB, B): printf("OP_SUB\tR%d\tR%d\n", a, a+1); break; CASE(OP_SUBI, BB): - printf("OP_SUBI\tR%d\t%d", a, b); + printf("OP_SUBI\tR%d\t%d\t", a, b); print_lv_a(mrb, irep, a); break; CASE(OP_MUL, B): @@ -452,7 +452,7 @@ codedump(mrb_state *mrb, const mrb_irep *irep) print_lv_a(mrb, irep, a); break; CASE(OP_INTERN, B): - printf("OP_INTERN\tR%d", a); + printf("OP_INTERN\tR%d\t\t", a); print_lv_a(mrb, irep, a); break; CASE(OP_SYMBOL, BB): @@ -471,7 +471,7 @@ codedump(mrb_state *mrb, const mrb_irep *irep) print_lv_a(mrb, irep, a); break; CASE(OP_STRCAT, B): - printf("OP_STRCAT\tR%d\tR%d", a, a+1); + printf("OP_STRCAT\tR%d\tR%d\n", a, a+1); print_lv_a(mrb, irep, a); break; CASE(OP_HASH, BB): |
