From 76b96857d89ee4ae89bae0c15d7fef34f3bea58c Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Fri, 7 Dec 2007 01:08:58 +0000 Subject: [PATCH] used new SymConst constructor [r16914] --- ir/external/read.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ir/external/read.c b/ir/external/read.c index 819cdb1ff..582c8c4cf 100644 --- a/ir/external/read.c +++ b/ir/external/read.c @@ -1191,7 +1191,7 @@ static void create_abstract_alloc(ir_graph *irg, proc_t *proc, eff_t *eff) ftype = xtype -> f_tp; sym.type_p = ftype; - alloc = new_Alloc(get_store(), new_SymConst(sym, symconst_type_size), ftype, + alloc = new_Alloc(get_store(), new_SymConst(mode_Is, sym, symconst_type_size), ftype, heap_alloc); set_store(new_Proj(alloc, mode_M, 0)); eff -> firmnode = new_Proj(alloc, mode_P, 2); -- 2.20.1