From b18a2677098e07ad4d6fb69b83c1a45a7d12a776 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Thu, 15 Dec 2022 18:35:14 +0900 Subject: [PATCH] codedump.c: print LOADINEG for the instruction; close #5869 Stopped unifying LOADI and LOAINEG in instruction printing. The issue is reported by @NaokiM03. --- src/codedump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/codedump.c b/src/codedump.c index 35133ce77..777c22fde 100644 --- a/src/codedump.c +++ b/src/codedump.c @@ -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):