Ticket #84: patch.patch

File patch.patch, 0.6 KB (added by jimmy, 6 years ago)
  • src/gc/incremental_ms.c

     
    527527#if DISABLE_GC_DEBUG 
    528528    UNUSED(interp); 
    529529#else 
    530     if (GC_DEBUG(interp)) { 
    531         if (pool == interp->arena_base->pmc_pool) { 
    532             PMC * const p = (PMC *)to_add; 
    533             p->vtable     = interp->vtables[enum_class_Null]; 
    534         } 
     530    if (GC_DEBUG(interp) && pool == interp->arena_base->pmc_pool) { 
     531        PMC * const p = (PMC *)to_add; 
     532        p->vtable     = interp->vtables[enum_class_Null]; 
    535533    } 
    536534#endif 
    537535}