diff options
| author | Yukihiro Matsumoto <[email protected]> | 2012-09-03 08:32:57 +0900 |
|---|---|---|
| committer | Yukihiro Matsumoto <[email protected]> | 2012-09-03 08:32:57 +0900 |
| commit | 5340126443609265d63159e4c391049cb722f828 (patch) | |
| tree | e16713c062c707a11dd92c42842d7e49e9550fe5 /src/opcode.h | |
| parent | 8fb23fe67d4af8ac5046223c0ef54095f8ef0a20 (diff) | |
| download | mruby-5340126443609265d63159e4c391049cb722f828.tar.gz mruby-5340126443609265d63159e4c391049cb722f828.zip | |
remove OP_LOADNIL before OP_SEND by introducing OP_SENDB (send with block)
Diffstat (limited to 'src/opcode.h')
| -rw-r--r-- | src/opcode.h | 2 |
1 files changed, 1 insertions, 1 deletions
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) */ |
