Commit 351e5ae6 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

opt_inline: Move all start block placed nodes to the callee's start block, not...

opt_inline: Move all start block placed nodes to the callee's start block, not just the constlike nodes.
parent 48775522
...@@ -131,7 +131,7 @@ static void set_preds_inline(ir_node *node, void *env) ...@@ -131,7 +131,7 @@ static void set_preds_inline(ir_node *node, void *env)
/* move constants into start block */ /* move constants into start block */
new_node = get_new_node(node); new_node = get_new_node(node);
if (is_irn_constlike(new_node)) { if (is_irn_start_block_placed(new_node)) {
ir_graph *new_irg = (ir_graph *) env; ir_graph *new_irg = (ir_graph *) env;
ir_node *start_block = get_irg_start_block(new_irg); ir_node *start_block = get_irg_start_block(new_irg);
set_nodes_block(new_node, start_block); set_nodes_block(new_node, start_block);
......
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