Changeset 10173


Ignore:
Timestamp:
Jul 21, 2008, 5:19:04 AM (11 years ago)
Author:
gb
Message:

Add a comment in forward_memoized_area, which claims that 'hashp' can
never be NULL when hashp->flags is written to.

File:
1 edited

Legend:

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

    r10087 r10173  
    901901        *p = new;
    902902        if (memo_dnode < hash_dnode_limit) {
     903          /* If this code is reached, 'hashp' is non-NULL and pointing
     904             at the header of a hash_table_vector, and 'memo_dnode' identifies
     905             a pair of words inside the hash_table_vector.  It may be
     906             hard for program analysis tools to recognize that, but I
     907             believe that warnings about 'hashp' being NULL here can
     908             be safely ignored. */
    903909          hashp->flags |= nhash_key_moved_mask;
    904910          hash_dnode_limit = 0;
Note: See TracChangeset for help on using the changeset viewer.