X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Fpseudo_irg.c;h=0a758628556588aa146b0b2fe03fc7dc10c77b73;hb=8f355cb9b3d20c10f71d1b1e17cbf59a51ced83b;hp=5ab5fcbcf7bf4d1bd61c2255942117bf0b2b4f20;hpb=d382d46d40faa79f071cf3eebd74fc47ad22b196;p=libfirm diff --git a/ir/ir/pseudo_irg.c b/ir/ir/pseudo_irg.c index 5ab5fcbcf..0a7586285 100644 --- a/ir/ir/pseudo_irg.c +++ b/ir/ir/pseudo_irg.c @@ -1,17 +1,29 @@ -/* -*- c -*- */ - /* - * Project: libFIRM - * File name: ir/external/pseudo_irg.c - * Purpose: implementation - * Author: G"otz Lindenmaier - * Modified by: Boris Boesler - * Created: xx.10.2004 - * CVS-ID: $Id$ - * Copyright: (c) 1999-2004 Universität Karlsruhe - * Licence: This file is protected by GPL - GNU GENERAL PUBLIC LICENSE. + * Copyright (C) 1995-2008 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 pseudo irg implementation + * @author Goetz Lindenmaier, Boris Boesler + * @date Oktober 2004 + * @version $Id$ + */ #ifdef HAVE_CONFIG_H # include "config.h" #endif @@ -48,7 +60,7 @@ void add_irp_pseudo_irg(ir_graph *irg) { * optimized. Pseudo graphs are kept in a separate graph list in irprog. */ ir_graph * -new_pseudo_ir_graph(entity *ent, int n_loc) { +new_pseudo_ir_graph(ir_entity *ent, int n_loc) { ir_graph *res = new_r_ir_graph (ent, n_loc); add_irp_pseudo_irg(res); /* remember this graph global. */ return res;