summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2021-09-10 19:11:56 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2021-09-10 19:11:56 +0900
commit648a774ef6e68a9aec860ba5438f47aaf912b578 (patch)
treed40a37c3c6de4fb40ef27a7f3dcc90464243879b /include
parentda749d870f4a57df7a05ef4a9ae023602d48af86 (diff)
downloadmruby-648a774ef6e68a9aec860ba5438f47aaf912b578.tar.gz
mruby-648a774ef6e68a9aec860ba5438f47aaf912b578.zip
ops.h: update `OP_HASHADD` description.
Diffstat (limited to 'include')
-rw-r--r--include/mruby/ops.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mruby/ops.h b/include/mruby/ops.h
index 705247649..49b624ecb 100644
--- a/include/mruby/ops.h
+++ b/include/mruby/ops.h
@@ -95,7 +95,7 @@ OPCODE(SYMBOL, BB) /* R(a) = intern(Pool(b)) */
OPCODE(STRING, BB) /* R(a) = str_dup(Pool(b)) */
OPCODE(STRCAT, B) /* str_cat(R(a),R(a+1)) */
OPCODE(HASH, BB) /* R(a) = hash_new(R(a),R(a+1)..R(a+b*2-1)) */
-OPCODE(HASHADD, BB) /* R(a) = hash_push(R(a),R(a+1)..R(a+b*2)) */
+OPCODE(HASHADD, BB) /* hash_push(R(a),R(a+1)..R(a+b*2)) */
OPCODE(HASHCAT, B) /* R(a) = hash_cat(R(a),R(a+1)) */
OPCODE(LAMBDA, BB) /* R(a) = lambda(Irep(b),L_LAMBDA) */
OPCODE(BLOCK, BB) /* R(a) = lambda(Irep(b),L_BLOCK) */