X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Ftr%2Ftypegmod.c;h=14b1e338f0c96e9c520756395c51e9b97d5e6462;hb=486f1e4abd8cc35ffb4839b7254cdb70b98f38ee;hp=a1cb01b0daae33f2ecf86062e6633f07a4b8ba49;hpb=1312195fd166a8ace88a3ea9671dbb7dfc11b39e;p=libfirm diff --git a/ir/tr/typegmod.c b/ir/tr/typegmod.c index a1cb01b0d..14b1e338f 100644 --- a/ir/tr/typegmod.c +++ b/ir/tr/typegmod.c @@ -18,7 +18,7 @@ # include "tpop_t.h" # include "irmode.h" -INLINE void exchange_types(type *old_type, type *new_type) { +void exchange_types(type *old_type, type *new_type) { /* Deallocate datastructures not directly contained in the old type. We must do this now as it is the latest point where we know the original kind of type. @@ -32,9 +32,9 @@ INLINE void exchange_types(type *old_type, type *new_type) { Maybe it's better to remove the id entry and shrink the list. Does this conflict with the walker? Might a type be left out during the walk? - * Deallocation: if the Id is removed from the list it will eventualle + * Deallocation: if the Id is removed from the list it will eventually disappear in a memory leak. When is impossible to determine so we - need to hold it in a seperate list for deallocation. + need to hold it in a separate list for deallocation. */ /* Exchange the types */ @@ -42,7 +42,7 @@ INLINE void exchange_types(type *old_type, type *new_type) { old_type->mode = (ir_mode *) new_type; } -INLINE type *skip_tid(type *tp) { +type *skip_tid(type *tp) { /* @@@ implement the self cycle killing trick of skip_id(ir_node *) */ while (tp->type_op == type_id) tp = (type *) tp->mode;