summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2021-06-05 08:08:25 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2021-06-05 08:08:25 +0900
commitcb7d351bfb366541ee111bed54ccaae93b1689e0 (patch)
tree390dc54600373d1b7c75a39a66c11fed0cae5cf7 /include
parentc2d3718b6edc71c67c09cb13ab9840a872ab6e98 (diff)
downloadmruby-cb7d351bfb366541ee111bed54ccaae93b1689e0.tar.gz
mruby-cb7d351bfb366541ee111bed54ccaae93b1689e0.zip
ops.h: fix term consistency. `Lit` -> `Pool`.
Diffstat (limited to 'include')
-rw-r--r--include/mruby/ops.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/mruby/ops.h b/include/mruby/ops.h
index d5d8fb077..98f447aab 100644
--- a/include/mruby/ops.h
+++ b/include/mruby/ops.h
@@ -93,8 +93,8 @@ OPCODE(AREF, BBB) /* R(a) = R(b)[c] */
OPCODE(ASET, BBB) /* R(a)[c] = R(b) */
OPCODE(APOST, BBB) /* *R(a),R(a+1)..R(a+c) = R(a)[b..] */
OPCODE(INTERN, B) /* R(a) = intern(R(a)) */
-OPCODE(STRING, BB) /* R(a) = str_dup(Lit(b)) */
-OPCODE(STRING16, BS) /* R(a) = str_dup(Lit(b)) */
+OPCODE(STRING, BB) /* R(a) = str_dup(Pool(b)) */
+OPCODE(STRING16, BS) /* 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)) */
@@ -118,5 +118,5 @@ OPCODE(UNDEF, B) /* undef_method(target_class,Syms(a)) */
OPCODE(SCLASS, B) /* R(a) = R(a).singleton_class */
OPCODE(TCLASS, B) /* R(a) = target_class */
OPCODE(DEBUG, BBB) /* print a,b,c */
-OPCODE(ERR, B) /* raise(LocalJumpError, Lit(a)) */
+OPCODE(ERR, B) /* raise(LocalJumpError, Pool(a)) */
OPCODE(STOP, Z) /* stop VM */