X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fana%2Fabsgraph.c;h=424db576dcf8f4244f57478dab965bc6a854cd66;hb=b1ac8fe5c7b3b462f66a99e6c780be9826414b7d;hp=f5663440ad14d3eac33fee156211cbb7649a7f65;hpb=ce6161a7e42a48f7422b7babcc64d8ace18e2687;p=libfirm diff --git a/ir/ana/absgraph.c b/ir/ana/absgraph.c index f5663440a..424db576d 100644 --- a/ir/ana/absgraph.c +++ b/ir/ana/absgraph.c @@ -1,27 +1,12 @@ /* - * 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. + * Copyright (C) 2012 University of Karlsruhe. */ /** - * @file absgraph.c + * @file * @author Sebastian Hack * @date 20.04.2007 - * @version $Id$ * @brief * * Abstract graph implementations for the CFG of a ir_graph. @@ -35,7 +20,7 @@ static void *irg_cfg_succ_get_root(void *self) { ir_graph *irg = (ir_graph*) self; - edges_assure_kind(irg, EDGE_KIND_BLOCK); + assure_edges_kind(irg, EDGE_KIND_BLOCK); return get_irg_start_block(irg); } @@ -48,7 +33,6 @@ static void *irg_cfg_succ_get_end(void *self) static void irg_cfg_succ_grow_succs(void *self, void *node, struct obstack *obst) { ir_node *bl = (ir_node*) node; - const ir_edge_t *edge; (void) self; foreach_block_succ(bl, edge) {