Commit a3c3e029 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

proc_cloning: Do not unnecessarily reset method attributes, which clone_entity() reset already.

parent 14b870a5
......@@ -462,10 +462,6 @@ static ir_entity *clone_method(const quadruple_t *q)
/* We need now a new ir_graph for our clone method. */
create_clone_proc_irg(new_entity, q);
/* The "new_entity" don't have this information. */
new_entity->attr.mtd_attr.param_access = NULL;
new_entity->attr.mtd_attr.param_weight = NULL;
return new_entity;
}
......
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