X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Ftr%2Ftypegmod.c;h=a3cf5e1f436b19ce6769d01d8b7522c5b63db90b;hb=58278afc9917d9fc28ae5a4def6e1d9e53d7179f;hp=4a44ef97ee9ef524c4f72627cefd2b235e6eee7a;hpb=2da89aec2e7d54d70940cccfa82f74c83e5221eb;p=libfirm diff --git a/ir/tr/typegmod.c b/ir/tr/typegmod.c index 4a44ef97e..a3cf5e1f4 100644 --- a/ir/tr/typegmod.c +++ b/ir/tr/typegmod.c @@ -5,13 +5,14 @@ ** */ +/* $Id$ */ + # include "typegmod_t.h" # include "type_t.h" # 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. @@ -35,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;