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

irgraph: Remove set_irg_anchor().

parent 3d9894f6
......@@ -331,7 +331,7 @@ static void transform_nodes(ir_graph *irg, arch_pretrans_nodes *pre_transform)
irg_anchors const idx = pre_anchors[i];
ir_node *const old = get_irn_n(old_anchor, idx);
ir_node *const nw = be_transform_node(old);
set_irg_anchor(irg, idx, nw);
set_irn_n(new_anchor, idx, nw);
}
if (pre_transform)
......
......@@ -401,12 +401,4 @@ static inline ir_node *get_irg_anchor(const ir_graph *irg, int idx)
return get_irn_n(irg->anchor, idx);
}
/**
* Set anchor for given index
*/
static inline void set_irg_anchor(ir_graph *irg, int idx, ir_node *irn)
{
set_irn_n(irg->anchor, idx, irn);
}
#endif
Markdown is supported
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