revise the comment in mrb_full_gc()

the old comment "clean all the black object as old" looks confusing,
it looks like "transform black object to old object", but indeed black
is old,
This commit is contained in:
fleuria
2013-08-01 17:33:22 +08:00
parent c1469a57a2
commit 107906e3cb
+1 -1
View File
@@ -1002,7 +1002,7 @@ mrb_full_gc(mrb_state *mrb)
incremental_gc_until(mrb, GC_STATE_NONE);
}
/* clean all black object as old */
/* clear all the old objects back to young */
if (is_generational(mrb)) {
clear_all_old(mrb);
mrb->gc_full = TRUE;