From 5d5e4f521464d134250501774f49f61f11dc3997 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Tue, 19 Oct 2021 12:03:12 +0900 Subject: ops.h: add new instructions `OP_SSEND` and `OP_SSENDB`. These instructions call methods of the receiver. --- src/codedump.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/codedump.c') diff --git a/src/codedump.c b/src/codedump.c index 6a9fcfb6a..28c8040c4 100644 --- a/src/codedump.c +++ b/src/codedump.c @@ -318,6 +318,14 @@ codedump(mrb_state *mrb, const mrb_irep *irep) printf("OP_JMPNIL\tR%d\t%03d\t", a, (int)i+(int16_t)b); print_lv_a(mrb, irep, a); break; + CASE(OP_SSEND, BBB): + printf("OP_SSEND\tR%d\t:%s\t", a, mrb_sym_dump(mrb, irep->syms[b])); + print_args(c); + break; + CASE(OP_SSENDB, BBB): + printf("OP_SSENDB\tR%d\t:%s\t", a, mrb_sym_dump(mrb, irep->syms[b])); + print_args(c); + break; CASE(OP_SEND, BBB): printf("OP_SEND\tR%d\t:%s\t", a, mrb_sym_dump(mrb, irep->syms[b])); print_args(c); -- cgit v1.2.3