summaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authordearblue <[email protected]>2020-05-24 00:42:09 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2020-10-12 16:21:32 +0900
commit0d7b4deccf445e3edae9239bf40b91cc79e83634 (patch)
treecddf29a04b9f6782060112f80c5463b11fd0949a /doc
parentf467b02d4598ab64d98727348e8a9c4f04fc9b83 (diff)
downloadmruby-0d7b4deccf445e3edae9239bf40b91cc79e83634.tar.gz
mruby-0d7b4deccf445e3edae9239bf40b91cc79e83634.zip
Removed push/pop instructions for rescue/ensure
`OP_PUSHERR`, `OP_POPERR`, `OP_EPUSH` and `OP_EPOP` are removed.
Diffstat (limited to 'doc')
-rw-r--r--doc/opcode.md4
1 files changed, 0 insertions, 4 deletions
diff --git a/doc/opcode.md b/doc/opcode.md
index d7e620350..385bf9468 100644
--- a/doc/opcode.md
+++ b/doc/opcode.md
@@ -62,13 +62,9 @@ sign) of operands.
| OP_JMPIF | BS | if R(a) pc=b |
| OP_JMPNOT | BS | if !R(a) pc=b |
| OP_JMPNIL | BS | if R(a)==nil pc=b |
-| OP_ONERR | S | rescue_push(a) |
| OP_EXCEPT | B | R(a) = exc |
| OP_RESCUE | BB | R(b) = R(a).isa?(R(b)) |
-| OP_POPERR | B | a.times{rescue_pop()} |
| OP_RAISEIF | B | raise(R(a)) if R(a) |
-| OP_EPUSH | B | ensure_push(SEQ[a]) |
-| OP_EPOP | B | A.times{ensure_pop().call} |
| OP_SENDV | BB | R(a) = call(R(a),Syms(b),*R(a+1)) |
| OP_SENDVB | BB | R(a) = call(R(a),Syms(b),*R(a+1),&R(a+2)) |
| OP_SEND | BBB | R(a) = call(R(a),Syms(b),R(a+1),...,R(a+c)) |