Commit 2d6405d1 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

proc_cloning: Remove redundant call to set_entity_ld_ident().

clone_entity() sets the ld_name now.
parent b0a98989
......@@ -435,9 +435,6 @@ static ir_entity *clone_method(const quadruple_t *q)
/* a cloned entity is always local */
set_entity_visibility(new_entity, ir_visibility_local);
/* set a ld name here: Should we mangle this ? */
set_entity_ld_ident(new_entity, get_entity_ident(new_entity));
/* set a new type here. */
change_entity_type(q, 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