From 5340126443609265d63159e4c391049cb722f828 Mon Sep 17 00:00:00 2001 From: Yukihiro Matsumoto Date: Mon, 3 Sep 2012 08:32:57 +0900 Subject: remove OP_LOADNIL before OP_SEND by introducing OP_SENDB (send with block) --- src/opcode.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/opcode.h') diff --git a/src/opcode.h b/src/opcode.h index 40ba9d126..d77e2451f 100644 --- a/src/opcode.h +++ b/src/opcode.h @@ -83,8 +83,8 @@ OP_EPUSH,/* Bx ensure_push(SEQ[Bx]) */ OP_EPOP,/* A A.times{ensure_pop().call} */ OP_SEND,/* A B C R(A) := call(R(A),mSym(B),R(A+1),...,R(A+C)) */ +OP_SENDB,/* A B C R(A) := call(R(A),mSym(B),R(A+1),...,R(A+C),&R(A+C+1))*/ OP_FSEND,/* A B C R(A) := fcall(R(A),mSym(B),R(A+1),...,R(A+C-1)) */ -OP_VSEND,/* A B R(A) := vcall(R(A),mSym(B)) */ OP_CALL,/* A B C R(A) := self.call(R(A),.., R(A+C)) */ OP_SUPER,/* A B C R(A) := super(R(A+1),... ,R(A+C-1)) */ OP_ARGARY,/* A Bx R(A) := argument array (16=6:1:5:4) */ -- cgit v1.2.3