Commit 3b9eafda authored by Matthias Braun's avatar Matthias Braun
Browse files

don't worry about IP view in backend

[r16178]
parent 51e14df4
......@@ -388,12 +388,10 @@ void be_transform_graph(be_irg_t *birg, arch_pretrans_nodes *func, void *cg)
{
ir_graph *irg = birg->irg;
ir_graph *old_current_ir_graph = current_ir_graph;
int old_interprocedural_view = get_interprocedural_view();
struct obstack *old_obst = NULL;
struct obstack *new_obst = NULL;
current_ir_graph = irg;
set_interprocedural_view(0);
/* most analysis info is wrong after transformation */
free_callee_info(irg);
......@@ -432,7 +430,6 @@ void be_transform_graph(be_irg_t *birg, arch_pretrans_nodes *func, void *cg)
/* restore state */
current_ir_graph = old_current_ir_graph;
set_interprocedural_view(old_interprocedural_view);
/* recalculate edges */
edges_deactivate(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