X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Ftr%2Ftypegmod.c;h=8b7748b1e220eccf532bda92e82de5cd6c69b495;hb=ff244fb7355c6120cf0f15ba7911b473bb91c64b;hp=af52b4ec1a9fcc19f57c4a958703eb5cc8cff7dd;hpb=b79f4f37c72bc1ba947814a068bf696b4dffb369;p=libfirm diff --git a/ir/tr/typegmod.c b/ir/tr/typegmod.c index af52b4ec1..8b7748b1e 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(ir_type *old_type, ir_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. @@ -42,9 +42,9 @@ INLINE void exchange_types(type *old_type, type *new_type) { old_type->mode = (ir_mode *) new_type; } -INLINE type *skip_tid(type *tp) { +ir_type *skip_tid(ir_type *tp) { /* @@@ implement the self cycle killing trick of skip_id(ir_node *) */ while (tp->type_op == type_id) - tp = (type *) tp->mode; + tp = (ir_type *) tp->mode; return tp; }