Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
91cc8d79
Commit
91cc8d79
authored
Mar 16, 2014
by
Christoph Mallon
Browse files
irprofile: Do not set current_ir_graph.
This is unnecessary, because all nodes are created using new_r_*.
parent
4baef4f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/ir/irprofile.c
View file @
91cc8d79
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment