7 /****h* libfirm/typegmod
12 * (C) 2001 by Universitaet Karlsruhe
16 * This module supplies routines that support changing the type graph.
20 /****f* tpop/exchange_types
23 * exchange_types -- replaces one type by the other.
25 * void exchange_types(type *old_type, type *new_type);
27 * The old type that shall be replaced by the new type.
29 * Old type is replaced by new_type. All references to old_type
30 * now point to new_type. The memory for the old type is destroyed,
31 * but still used. Therefore it is not freed. The memory will
32 * be lost after a certain while.
33 * In the future there might be a routine to recover the memory, but
34 * this will be at considerable runtime cost.
37 inline void exchange_types(type *old_type, type *new_type);
40 # endif /*_TYPEGMOD_H_ */