• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

mrubyを超漢字で動作させる


Commit MetaInfo

Revisãofc4f0b9be7133dc901d02bb938e90ffd1487e50a (tree)
Hora2015-10-20 17:06:54
AutorYukihiro "Matz" Matsumoto <matz@ruby...>
CommiterYukihiro "Matz" Matsumoto

Mensagem de Log

do not assert is_dead() during mark phase; close #2825 ref #2996 #2769

Mudança Sumário

Diff

--- a/src/gc.c
+++ b/src/gc.c
@@ -1153,7 +1153,7 @@ mrb_field_write_barrier(mrb_state *mrb, struct RBasic *obj, struct RBasic *value
11531153 if (!is_black(obj)) return;
11541154 if (!is_white(value)) return;
11551155
1156- mrb_assert(!is_dead(mrb, value) && !is_dead(mrb, obj));
1156+ mrb_assert(mrb->gc_state == GC_STATE_MARK || (!is_dead(mrb, value) && !is_dead(mrb, obj)));
11571157 mrb_assert(is_generational(mrb) || mrb->gc_state != GC_STATE_ROOT);
11581158
11591159 if (is_generational(mrb) || mrb->gc_state == GC_STATE_MARK) {