codedump.c: print two operands R(x) and R(x+1) for clarity.

This commit is contained in:
Yukihiro "Matz" Matsumoto
2021-08-07 12:12:24 +09:00
parent 06f49b3f84
commit 35d230a669
+1 -1
View File
@@ -463,7 +463,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\t", a);
printf("OP_STRCAT\tR%d\tR%d", a, a+1);
print_lv_a(mrb, irep, a);
break;
CASE(OP_HASH, BB):