* gc.c (gc_clear_mark_on_sweep_slots): remove a unused variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
55e6e9e384
commit
f0e9fa3cb1
@ -1,3 +1,7 @@
|
|||||||
|
Sun Feb 19 13:08:34 2012 Narihiro Nakamura <authornari@gmail.com>
|
||||||
|
|
||||||
|
* gc.c (gc_clear_mark_on_sweep_slots): remove a unused variable.
|
||||||
|
|
||||||
Sun Feb 19 11:53:35 2012 Narihiro Nakamura <authornari@gmail.com>
|
Sun Feb 19 11:53:35 2012 Narihiro Nakamura <authornari@gmail.com>
|
||||||
|
|
||||||
* gc.c (gc_clear_mark_on_sweep_slots): uses slot_sweep() for
|
* gc.c (gc_clear_mark_on_sweep_slots): uses slot_sweep() for
|
||||||
|
2
gc.c
2
gc.c
@ -2622,8 +2622,6 @@ mark_current_machine_context(rb_objspace_t *objspace, rb_thread_t *th)
|
|||||||
static void
|
static void
|
||||||
gc_clear_mark_on_sweep_slots(rb_objspace_t *objspace)
|
gc_clear_mark_on_sweep_slots(rb_objspace_t *objspace)
|
||||||
{
|
{
|
||||||
struct heaps_slot *scan;
|
|
||||||
|
|
||||||
if (objspace->heap.sweep_slots) {
|
if (objspace->heap.sweep_slots) {
|
||||||
while (heaps_increment(objspace));
|
while (heaps_increment(objspace));
|
||||||
while (objspace->heap.sweep_slots) {
|
while (objspace->heap.sweep_slots) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user