From: Christoph Mallon Date: Sun, 8 Jul 2007 20:17:40 +0000 (+0000) Subject: Copy the debug info when turning a Store into a Push. X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=df08123ca8411279a6474c9003305dd7b4a7ca04;p=libfirm Copy the debug info when turning a Store into a Push. [r14986] --- diff --git a/ir/be/ia32/ia32_optimize.c b/ir/be/ia32/ia32_optimize.c index 32baa09a5..07a42d8bb 100644 --- a/ir/be/ia32/ia32_optimize.c +++ b/ir/be/ia32/ia32_optimize.c @@ -176,8 +176,7 @@ static void ia32_create_Pushs(ir_node *irn, ia32_code_gen_t *cg) { mem = get_irn_n(store, 3); spreg = arch_get_irn_register(cg->arch_env, curr_sp); - // create a push - push = new_rd_ia32_Push(NULL, irg, block, noreg, noreg, val, curr_sp, mem); + push = new_rd_ia32_Push(get_irn_dbg_info(store), irg, block, noreg, noreg, val, curr_sp, mem); set_ia32_am_support(push, ia32_am_Source, ia32_am_unary); copy_ia32_Immop_attr(push, store);