Changeset 8401


Ignore:
Timestamp:
Feb 3, 2008, 5:20:07 AM (17 years ago)
Author:
Gary Byers
Message:

weak hash stuff in ppc GC, too

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/lisp-kernel/ppc-gc.c

    r8248 r8401  
    303303          ((hash_table_vector_header *) base)->cache_key = undefined;
    304304          ((hash_table_vector_header *) base)->cache_value = lisp_nil;
    305           deref(ptr_to_lispobj(base),1) = GCweakvll;
    306           GCweakvll = n;
     305          mark_weak_htabv(n);
    307306          return;
    308307        }
     
    563562          ((hash_table_vector_header *) base)->cache_key = undefined;
    564563          ((hash_table_vector_header *) base)->cache_value = lisp_nil;
    565           deref(ptr_to_lispobj(base),1) = GCweakvll;
    566           GCweakvll = n;
     564          mark_weak_htabv(n);
    567565          return;
    568566        }
     
    732730          ((hash_table_vector_header *) base)->cache_key = undefined;
    733731          ((hash_table_vector_header *) base)->cache_value = lisp_nil;
    734          
    735           deref(ptr_to_lispobj(base),1) = GCweakvll;
    736           GCweakvll = this;
    737           goto Climb;
     732          dws_mark_weak_htabv(this);
     733          element_count = hash_table_vector_header_count;
    738734        }
    739735      }
     
    990986          ((hash_table_vector_header *) start)->cache_key = undefined;
    991987          ((hash_table_vector_header *) start)->cache_value = lisp_nil;
    992        
    993           start[1] = GCweakvll;
    994           GCweakvll = (LispObj) (((natural) start) + fulltag_misc);
     988          mark_weak_htabv((LispObj)start);
    995989          element_count = 0;
    996990        }
Note: See TracChangeset for help on using the changeset viewer.