Commit 91cc8d79 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

irprofile: Do not set current_ir_graph.

This is unnecessary, because all nodes are created using new_r_*.
parent 4baef4f9
......@@ -202,7 +202,6 @@ static ir_graph *gen_initializer_irg(ir_entity *ent_filename,
/* create the new ir_graph */
irg = new_ir_graph(ent, 0);
set_current_ir_graph(irg);
empty_frame_type = get_irg_frame_type(irg);
set_type_size_bytes(empty_frame_type, 0);
set_type_state(empty_frame_type, layout_fixed);
......
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