codedump.c: print LOADINEG for the instruction; close #5869

Stopped unifying LOADI and LOAINEG in instruction printing.
The issue is reported by @NaokiM03.
This commit is contained in:
Yukihiro "Matz" Matsumoto
2022-12-15 18:35:14 +09:00
parent 8819183088
commit b18a267709
+1 -1
View File
@@ -195,7 +195,7 @@ codedump(mrb_state *mrb, const mrb_irep *irep)
print_lv_a(mrb, irep, a);
break;
CASE(OP_LOADINEG, BB):
printf("LOADI\tR%d\t-%d\t", a, b);
printf("LOADINEG\tR%d\t-%d\t", a, b);
print_lv_a(mrb, irep, a);
break;
CASE(OP_LOADI16, BS):