X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fana%2Fstructure.c;h=b73369a61bd5ef2444f0a7ab8b18e25ec4c5259b;hb=00894f1e0b6e74ca6c12d253dd30f7d873808977;hp=96b8247fcc5105862dfd59e2f94da0c475804e42;hpb=1ce363f80e6a204d4011f85813362d9bd1d0e7e4;p=libfirm diff --git a/ir/ana/structure.c b/ir/ana/structure.c index 96b8247fc..b73369a61 100644 --- a/ir/ana/structure.c +++ b/ir/ana/structure.c @@ -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);