diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-09-10 19:11:56 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-09-10 19:11:56 +0900 |
| commit | 648a774ef6e68a9aec860ba5438f47aaf912b578 (patch) | |
| tree | d40a37c3c6de4fb40ef27a7f3dcc90464243879b /doc/opcode.md | |
| parent | da749d870f4a57df7a05ef4a9ae023602d48af86 (diff) | |
| download | mruby-648a774ef6e68a9aec860ba5438f47aaf912b578.tar.gz mruby-648a774ef6e68a9aec860ba5438f47aaf912b578.zip | |
ops.h: update `OP_HASHADD` description.
Diffstat (limited to 'doc/opcode.md')
| -rw-r--r-- | doc/opcode.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/opcode.md b/doc/opcode.md index 1c13c2931..f6e3b7604 100644 --- a/doc/opcode.md +++ b/doc/opcode.md @@ -106,7 +106,7 @@ sign) of operands. | `OP_STRING` | `BB` | `R(a) = str_dup(Pool(b))` | | `OP_STRCAT` | `B` | `str_cat(R(a),R(a+1))` | | `OP_HASH` | `BB` | `R(a) = hash_new(R(a),R(a+1)..R(a+b*2-1))` | -| `OP_HASHADD` | `BB` | `R(a) = hash_push(R(a),R(a+1)..R(a+b*2))` | +| `OP_HASHADD` | `BB` | `hash_push(R(a),R(a+1)..R(a+b*2))` | | `OP_HASHCAT` | `B` | `R(a) = hash_cat(R(a),R(a+1))` | | `OP_LAMBDA` | `BB` | `R(a) = lambda(Irep(b),OP_L_LAMBDA)` | | `OP_BLOCK` | `BB` | `R(a) = lambda(Irep(b),OP_L_BLOCK)` | |
