X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Ftr%2Ftypegmod.c;h=a3cf5e1f436b19ce6769d01d8b7522c5b63db90b;hb=58278afc9917d9fc28ae5a4def6e1d9e53d7179f;hp=5cd16b3875f02cf174978e8b6d155fd65a8fae7e;hpb=e3e22fa6f927847099c0bff62457003aa81f2518;p=libfirm diff --git a/ir/tr/typegmod.c b/ir/tr/typegmod.c index 5cd16b387..a3cf5e1f4 100644 --- a/ir/tr/typegmod.c +++ b/ir/tr/typegmod.c @@ -12,8 +12,7 @@ # include "tpop_t.h" # include "irmode.h" -inline void exchange_types(type *old_type, type *new_type) { - int i; +INLINE 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. @@ -37,7 +36,7 @@ inline void exchange_types(type *old_type, type *new_type) { old_type->mode = (ir_mode *) new_type; } -inline type *skip_tid(type *tp) { +INLINE type *skip_tid(type *tp) { while (tp->type_op == type_id) tp = (type *) tp->mode; return tp;