aboutsummaryrefslogtreecommitdiffstats
path: root/vm.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm.c b/vm.c
index b2b87f8eb5..797333591c 100644
--- a/vm.c
+++ b/vm.c
@@ -422,7 +422,7 @@ env_mark(void * const ptr)
if (env->block.iseq) {
if (RUBY_VM_IFUNC_P(env->block.iseq)) {
- RUBY_MARK_UNLESS_NULL((VALUE)env->block.iseq);
+ rb_gc_mark((VALUE)env->block.iseq);
}
else {
RUBY_MARK_UNLESS_NULL(env->block.iseq->self);