X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fana%2Fstructure.c;h=b73369a61bd5ef2444f0a7ab8b18e25ec4c5259b;hb=afbbc0b1ccd684c4c24bfd43d0f994123245f39f;hp=a2eb17e8cf4a4b010c9670f66c1a2d440ca43b56;hpb=9b716841c3b0865b86af8d3890b3914060c37ed0;p=libfirm diff --git a/ir/ana/structure.c b/ir/ana/structure.c index a2eb17e8c..b73369a61 100644 --- a/ir/ana/structure.c +++ b/ir/ana/structure.c @@ -1,5 +1,5 @@ /* - * Copyrigth (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. * @@ -74,7 +74,7 @@ union ir_reg_or_blk { }; /* The debug handle. */ -DEBUG_ONLY(firm_dbg_module_t *dbg;) +DEBUG_ONLY(static firm_dbg_module_t *dbg;) /** * Returns the link of a region. @@ -1002,7 +1002,7 @@ static void reduce(walk_env *env, ir_region *reg) { ir_reg_tree *construct_region_tree(ir_graph *irg) { walk_env env; ir_graph *rem = current_ir_graph; - ir_reg_tree *res = xmalloc(sizeof(*res)); + ir_reg_tree *res = XMALLOC(ir_reg_tree); obstack_init(&res->obst);