Commit 60292a28 authored by Michael Beck's avatar Michael Beck
Browse files

- BugFix: not all users of the frame are Sel nodes (now all cases fixed)

[r25069]
parent d3f0f0c4
......@@ -64,8 +64,10 @@ void opt_frame_irg(ir_graph *irg) {
/* mark all used entities */
foreach_out_edge(frame, edge) {
sel = get_edge_src_irn(edge);
ent = get_Sel_entity(sel);
set_entity_link(ent, ent);
if (is_Sel(sel)) {
ent = get_Sel_entity(sel);
set_entity_link(ent, ent);
}
}
} else {
/* use traditionally out edges */
......
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