* 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
This commit is contained in:
parent
88722e6a5d
commit
20a9bd6763
@ -1,3 +1,10 @@
|
||||
Wed Jul 16 18:08:47 2014 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* iseq.c (rb_iseq_defined_string): use rb_gc_mark_object() instead of
|
||||
marking from vm_mark().
|
||||
|
||||
* vm.c (rb_vm_mark): ditto.
|
||||
|
||||
Wed Jul 16 18:03:50 2014 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* gc.c (gc_mark_roots): call rb_vm_mark directly.
|
||||
|
1
iseq.c
1
iseq.c
@ -2069,6 +2069,7 @@ rb_iseq_defined_string(enum defined_type type)
|
||||
str = rb_str_new_cstr(estr);;
|
||||
OBJ_FREEZE(str);
|
||||
defs[type-1] = str;
|
||||
rb_gc_register_mark_object(str);
|
||||
}
|
||||
return str;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user