mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
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:
+1
-1
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user