Commit da6c0d72 authored by Andreas Zwinkau's avatar Andreas Zwinkau
Browse files

Revert "Clear corresponding irg property when creating Bads."

This reverts commit 3d1d2c43.

Creating a Bad node does not imply that it has users or is reachable
within an irg. While clearing the property is certainly correct as a
conservative approximation, it should not be necessary.
parent c92c681d
......@@ -176,7 +176,6 @@ class Bad:
attr_struct = "bad_attr"
init = '''
res->attr.bad.irg.irg = irg;
clear_irg_properties(irg, IR_GRAPH_PROPERTY_NO_BADS);
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