From 35d230a6690003d94c76508281ae5aa3210b182c Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Sat, 7 Aug 2021 12:12:24 +0900 Subject: codedump.c: print two operands `R(x)` and `R(x+1)` for clarity. --- src/codedump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/codedump.c') diff --git a/src/codedump.c b/src/codedump.c index f662e0cb3..fa06260f7 100644 --- a/src/codedump.c +++ b/src/codedump.c @@ -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): -- cgit v1.2.3