mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* gc.c (gc_slot_sweep): need to add empty RVALUE as freeobj.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c7a56bd6d0
commit
4132ac3762
2 changed files with 5 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Mon Jul 22 10:09:46 2013 Koichi Sasada <ko1@atdot.net>
|
||||||
|
|
||||||
|
* gc.c (gc_slot_sweep): need to add empty RVALUE as freeobj.
|
||||||
|
|
||||||
Mon Jul 22 09:48:31 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Mon Jul 22 09:48:31 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* vm_eval.c (eval_string_with_cref): use the given file name unless
|
* vm_eval.c (eval_string_with_cref): use the given file name unless
|
||||||
|
|
1
gc.c
1
gc.c
|
@ -2269,6 +2269,7 @@ gc_slot_sweep(rb_objspace_t *objspace, struct heap_slot *sweep_slot)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
heap_slot_add_freeobj(objspace, sweep_slot, (VALUE)p);
|
||||||
empty_num++;
|
empty_num++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue