pike.git / src / pike_types.cmod

version» Context lines:

pike.git/src/pike_types.cmod:451:       default:    Pike_fatal("free_type(): Unhandled type-node: %d\n", type);    break;   #endif /* PIKE_DEBUG */    }    }   }      /* NB: Steals the references to car and cdr. */ - static inline struct pike_type *debug_mk_type(unsigned INT32 type, + static struct pike_type *debug_mk_type(unsigned INT32 type,    struct pike_type *car,    struct pike_type *cdr, -  int flag_method) +  unsigned 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 = (unsigned INT32)    ((ptrdiff_t)type*0x10204081)^    (0x8003*PTR_TO_INT(car))^    ~(0x10001*PTR_TO_INT(cdr));