Commit ffae6555 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

convopt: Preserve debug info of Consts.

parent 37482a19
......@@ -181,7 +181,8 @@ static ir_node *conv_transform(ir_node *node, ir_mode *dest_mode)
if (tv == tarval_bad || tv == tarval_unknown) {
return place_conv(node, dest_mode);
} else {
return new_r_Const(irg, tv);
dbg_info *const dbgi = get_irn_dbg_info(node);
return new_rd_Const(dbgi, irg, tv);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment