Commit 832d6190 authored by Matthias Braun's avatar Matthias Braun
Browse files

call hook_new_entity after copying entity so the firm debugger can catch it

parent eb7ac83b
......@@ -193,6 +193,7 @@ static ir_entity *deep_entity_copy(ir_entity *old)
#ifdef DEBUG_libfirm
newe->nr = get_irp_new_node_nr();
return newe;
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