X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firgmod.c;h=0167e8af1768135d1cf1c7907e6436eee1367cd8;hb=eda9d668d0e8c8246015b4c5e743316a6a835a23;hp=517051172edb8708ffde5a2934cb4bff2f1223f9;hpb=2cbb2203c867a84600d0608b7641895b03fdbd21;p=libfirm diff --git a/ir/ir/irgmod.c b/ir/ir/irgmod.c index 517051172..0167e8af1 100644 --- a/ir/ir/irgmod.c +++ b/ir/ir/irgmod.c @@ -1,15 +1,28 @@ /* - * Project: libFIRM - * File name: ir/ir/irgmod.c - * Purpose: Support for ir graph modification. - * Author: Martin Trapp, Christian Schaefer - * Modified by: Goetz Lindenmaier - * Created: - * CVS-ID: $Id$ - * Copyright: (c) 1998-2003 Universität Karlsruhe - * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved. + * + * This file is part of libFirm. + * + * This file may be distributed and/or modified under the terms of the + * GNU General Public License version 2 as published by the Free Software + * Foundation and appearing in the file LICENSE.GPL included in the + * packaging of this file. + * + * Licensees holding valid libFirm Professional Edition licenses may use + * this file in accordance with the libFirm Commercial License. + * Agreement provided with the Software. + * + * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE + * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE. */ +/** + * @file + * @brief Support for ir graph modification. + * @author Martin Trapp, Christian Schaefer, Goetz Lindenmaier + * @version $Id$ + */ #ifdef HAVE_CONFIG_H # include "config.h" #endif @@ -71,8 +84,6 @@ void exchange(ir_node *old, ir_node *nw) * the edges from the old node to the new directly. */ if (edges_activated(irg)) { - int i; - /* copy all dependencies from old to new */ add_irn_deps(nw, old);