Commit 51a1c816 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

proc_cloning: Replace use of id_mangle() by more fitting id_mangle3().

parent 7efc2374
......@@ -182,10 +182,8 @@ static void collect_irg_calls(ir_node *call, void *env)
static ident *get_clone_ident(ident *id, size_t pos, size_t nr)
{
char clone_postfix[32];
ir_snprintf(clone_postfix, sizeof(clone_postfix), "_cl_%zu_%zu", pos, nr);
return id_mangle(id, new_id_from_str(clone_postfix));
return id_mangle3("", id, clone_postfix);
}
/**
......
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