X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Ftr%2Ftypegmod.c;h=a1cb01b0daae33f2ecf86062e6633f07a4b8ba49;hb=e9f0f082f76d42af948d55a3bd8194dc3da99c0f;hp=a3cf5e1f436b19ce6769d01d8b7522c5b63db90b;hpb=5c27107154d63252e27639ebb34e98022f9b3358;p=libfirm diff --git a/ir/tr/typegmod.c b/ir/tr/typegmod.c index a3cf5e1f4..a1cb01b0d 100644 --- a/ir/tr/typegmod.c +++ b/ir/tr/typegmod.c @@ -1,13 +1,19 @@ -/* Copyright (C) 2001 by Universitaet Karlsruhe -** All rights reserved. -** -** Authors: Goetz Lindenmaier -** -*/ +/* + * Project: libFIRM + * File name: ir/tr/typegmod.c + * Purpose: Functionality to modify the type graph. + * Author: Goetz Lindenmaier + * Modified by: + * Created: + * CVS-ID: $Id$ + * Copyright: (c) 2001-2003 Universität Karlsruhe + * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif -/* $Id$ */ - -# include "typegmod_t.h" +# include "typegmod.h" # include "type_t.h" # include "tpop_t.h" # include "irmode.h" @@ -37,6 +43,7 @@ INLINE void exchange_types(type *old_type, type *new_type) { } INLINE 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; return tp;