pike.git / src / pike_types.c

version» Context lines:

pike.git/src/pike_types.c:417:   static inline struct pike_type *debug_mk_type(unsigned INT32 type,    struct pike_type *car,    struct pike_type *cdr,    int flag_method)   {    /* FIXME: The hash ought to be based on the tree contents, regardless    * of what the adresses of the type nodes are.    */    struct pike_type *t;    unsigned INT32 index, -  hash = DO_NOT_WARN((unsigned INT32) +  hash = (unsigned INT32)    ((ptrdiff_t)type*0x10204081)^    (0x8003*PTR_TO_INT(car))^ -  ~(0x10001*PTR_TO_INT(cdr))); +  ~(0x10001*PTR_TO_INT(cdr));       hash ^= (hash >> 20) ^ (hash >> 12);    hash ^= (hash >> 7) ^ (hash >> 4);       index = hash & pike_type_hash_size;   #ifdef PIKE_EXTRA_DEBUG    static unsigned INT32 extra_debug_index = (unsigned INT32)~0;   #endif /* PIKE_EXTRA_DEBUG */   #ifdef PIKE_DEBUG    /* PIKE_DEBUG code */