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

Remove stale comment and simplify the code accordingly.

parent c1a64dea
......@@ -225,13 +225,8 @@ static inline int ir_has_irg_ref(const ir_node *node)
static inline ir_graph *get_irn_irg_(const ir_node *node)
* Do not use get_nodes_block() here, because this
* will check the pinned state.
* However even a 'wrong' block is always in the proper irg.
if (! is_Block(node))
node = get_irn_n(node, -1);
node = get_nodes_block(node);
return node->attr.irg.irg;
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