summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-object-ext/src/object.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2021-01-12 18:38:42 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2021-01-12 18:38:42 +0900
commitbec4d30dc6620c4102ce7acc08a4cb1c735a6ad5 (patch)
tree9b7912d7b859c3cb2ee026a48582934c7af5cd2c /mrbgems/mruby-object-ext/src/object.c
parente13f34e30866add2ec1829ec1819366844701c34 (diff)
parent9877f4ca3c10e21b9d525256fe8cebc4ea404727 (diff)
downloadmruby-bec4d30dc6620c4102ce7acc08a4cb1c735a6ad5.tar.gz
mruby-bec4d30dc6620c4102ce7acc08a4cb1c735a6ad5.zip
Merge branch 'reorganize-ci' of https://github.com/dearblue/mruby into dearblue-reorganize-ci
Diffstat (limited to 'mrbgems/mruby-object-ext/src/object.c')
-rw-r--r--mrbgems/mruby-object-ext/src/object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-object-ext/src/object.c b/mrbgems/mruby-object-ext/src/object.c
index 2d99ce8c2..b636c9823 100644
--- a/mrbgems/mruby-object-ext/src/object.c
+++ b/mrbgems/mruby-object-ext/src/object.c
@@ -105,7 +105,7 @@ mrb_obj_instance_exec(mrb_state *mrb, mrb_value self)
if (mrb->c->ci->acc < 0) {
return mrb_yield_with_class(mrb, blk, argc, argv, self, c);
}
- mrb->c->ci->target_class = c;
+ mrb_vm_ci_target_class_set(mrb->c->ci, c);
return mrb_yield_cont(mrb, blk, self, argc, argv);
}