X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fana%2Firextbb.c;h=71e573969212bf04a09e29f51dc29aa42c59bac4;hb=109a60bfcf239f2b5304c709a430658920c287cf;hp=83e8510dad818044413d4c0b89dfc4fc7500f043;hpb=b519dd6a1e6d85e843eff533be787d1f138a07ff;p=libfirm diff --git a/ir/ana/irextbb.c b/ir/ana/irextbb.c index 83e8510da..71e573969 100644 --- a/ir/ana/irextbb.c +++ b/ir/ana/irextbb.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved. + * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved. * * This file is part of libFirm. * @@ -279,7 +279,7 @@ void free_extbb(ir_graph *irg) { /* Return the extended block of a node. */ ir_extblk *get_nodes_extbb(ir_node *node) { - ir_node *block = is_Block(node) ? node : get_nodes_block(node); + ir_node *block = is_Block(node) ? node : get_irn_n(node, -1); return get_Block_extbb(block); } @@ -374,7 +374,6 @@ void irg_extblock_walk(ir_extblk *blk, extbb_walk_func *pre, extbb_walk_func *po int i; assert(blk); - assert(!get_interprocedural_view()); /* interprocedural_view not implemented */ inc_irg_block_visited(current_ir_graph); /* assure the start block is the first one */