summaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-07-16 09:09:40 (GMT)
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-07-16 09:09:40 (GMT)
commit20a9bd67636a82ca83c5cef4755a8206dc34eca7 (patch)
treed405c50b1c7da8e33969ff1b88881c32e8d48f91 /vm.c
parent88722e6a5dc9881e7d4a54e4cd90f5b4ebbb609c (diff)
* iseq.c (rb_iseq_defined_string): use rb_gc_mark_object() instead of
marking from vm_mark(). * vm.c (rb_vm_mark): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/vm.c b/vm.c
index 4e0ea41..5e9204b 100644
--- a/vm.c
+++ b/vm.c
@@ -1771,9 +1771,6 @@ rb_vm_mark(void *ptr)
if (vm->trap_list[i].cmd)
rb_gc_mark(vm->trap_list[i].cmd);
}
- if (vm->defined_strings) {
- rb_gc_mark_locations(vm->defined_strings, vm->defined_strings + DEFINED_EXPR);
- }
}
RUBY_MARK_LEAVE("vm");