diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-10-19 11:37:59 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-10-19 11:37:59 +0900 |
| commit | ab986ff1088098ce6767453d9aac479e9d80bf15 (patch) | |
| tree | 35b272e31d2daf3a7a6bc576ea7305c870abdfe4 | |
| parent | b6b4ac8270fcef135291cbde60d18f1c8a4c98e4 (diff) | |
| download | mruby-ab986ff1088098ce6767453d9aac479e9d80bf15.tar.gz mruby-ab986ff1088098ce6767453d9aac479e9d80bf15.zip | |
ops.h: update `OP_SEND` description.
| -rw-r--r-- | include/mruby/ops.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mruby/ops.h b/include/mruby/ops.h index af7051833..881a74153 100644 --- a/include/mruby/ops.h +++ b/include/mruby/ops.h @@ -57,8 +57,8 @@ OPCODE(JMPUW, S) /* unwind_and_jump_to(a) */ OPCODE(EXCEPT, B) /* R(a) = exc */ OPCODE(RESCUE, BB) /* R(b) = R(a).isa?(R(b)) */ OPCODE(RAISEIF, B) /* raise(R(a)) if R(a) */ -OPCODE(SEND, BBB) /* R(a) = call(R(a),Syms(b),R(a+1)..,R(a+n+1):R(a+n+2)..) (c=n|k<<4) */ -OPCODE(SENDB, BBB) /* R(a) = call(R(a),Syms(b),R(a+1)..,R(a+n+1):R(a+n+2)..,&R(a+n+2k+1)) */ +OPCODE(SEND, BBB) /* R(a) = R(a).send(Syms(b),R(a+1)..,R(a+n+1):R(a+n+2)..) (c=n|k<<4) */ +OPCODE(SENDB, BBB) /* R(a) = R(a).send(Syms(b),R(a+1)..,R(a+n+1):R(a+n+2)..,&R(a+n+2k+1)) */ OPCODE(CALL, Z) /* R(0) = self.call(frame.argc, frame.argv) */ OPCODE(SUPER, BB) /* R(a) = super(R(a+1),... ,R(a+b+1)) */ OPCODE(ARGARY, BS) /* R(a) = argument array (16=m5:r1:m5:d1:lv4) */ |
