get_entity_nr() now returns the casted address, like all other *_nr() functions
[r7366]
#ifdef DEBUG_libfirm
return ent->nr;
#else
- return 0;
+ return (long)PTR_TO_INT(ent);
#endif
}
int equal_entity(entity *ent1, entity *ent2);
/** Outputs a unique number for this entity if libfirm is compiled for
- debugging, (configure with --enable-debug) else returns 0. */
+ * debugging, (configure with --enable-debug) else returns the address
+ * of the type cast to long.
+ */
long get_entity_nr(entity *ent);
/** Returns the entities visited count. */