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

irscc: Remove a probably erroneous use of current_ir_graph in free_loop_information().

There is an explicit irg available here.
parent cb13d128
...@@ -699,7 +699,7 @@ void free_loop_information(ir_graph *irg) ...@@ -699,7 +699,7 @@ void free_loop_information(ir_graph *irg)
{ {
irg_walk_graph(irg, loop_reset_node, NULL, NULL); irg_walk_graph(irg, loop_reset_node, NULL, NULL);
set_irg_loop(irg, NULL); set_irg_loop(irg, NULL);
clear_irg_properties(current_ir_graph, IR_GRAPH_PROPERTY_CONSISTENT_LOOPINFO); clear_irg_properties(irg, IR_GRAPH_PROPERTY_CONSISTENT_LOOPINFO);
/* We cannot free the loop nodes, they are on the obstack. */ /* We cannot free the loop nodes, they are on the obstack. */
} }
......
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