Commit d45bd211 authored by Christian Würdig's avatar Christian Würdig
Browse files

fixed sel entity collector

parent 7b46de95
......@@ -1405,7 +1405,8 @@ static void lower_frame_sels_walker(ir_node *irn, void *data)
nw = be_new_FrameAddr(env->isa->sp->reg_class, irg, bl, frame, ent);
exchange(irn, nw);
if (ptr == param_base) {
/* check, if it's a param sel and if have not seen this entity immediatly before */
if (ptr == param_base && ctx->value_param_list != ent) {
set_entity_link(ent, ctx->value_param_list);
ctx->value_param_list = ent;
}
......
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