summaryrefslogtreecommitdiffhomepage
path: root/src/class.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2021-04-26 14:29:46 +0900
committerGitHub <[email protected]>2021-04-26 14:29:46 +0900
commitb93746370665075512ec0b575eb6ced6323bc170 (patch)
tree8cf23ea17e328e27dabab27c07ff70a941b6f3dc /src/class.c
parent2ead8a0520e49c122f3526bc8b3c01a7edf24a73 (diff)
parent8f66dd278b41577c7e46158950fb0cd65012ae2c (diff)
downloadmruby-b93746370665075512ec0b575eb6ced6323bc170.tar.gz
mruby-b93746370665075512ec0b575eb6ced6323bc170.zip
Merge pull request #5424 from dearblue/new_iseq
Fix annotations for inline iseq of `Class.new` [ci skip]
Diffstat (limited to 'src/class.c')
-rw-r--r--src/class.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class.c b/src/class.c
index bbf713752..dfd25b371 100644
--- a/src/class.c
+++ b/src/class.c
@@ -2806,7 +2806,7 @@ static const mrb_code new_iseq[] = {
OP_MOVE, 0x0, 0x3, /* OP_MOVE R0 R3 */
OP_MOVE, 0x4, 0x1, /* OP_MOVE R4 R1 */
OP_MOVE, 0x5, 0x2, /* OP_MOVE R5 R2 */
- OP_SENDVB, 0x3, 0x1, /* OP_SENDVB R4 :initialize */
+ OP_SENDVB, 0x3, 0x1, /* OP_SENDVB R3 :initialize */
OP_RETURN, 0x0 /* OP_RETURN R0 */
};