Commit 3d1d2c43 authored by yb9976's avatar yb9976
Browse files

Clear corresponding irg property when creating Bads.

parent 88c4c31f
...@@ -176,6 +176,7 @@ class Bad: ...@@ -176,6 +176,7 @@ class Bad:
attr_struct = "bad_attr" attr_struct = "bad_attr"
init = ''' init = '''
res->attr.bad.irg.irg = irg; res->attr.bad.irg.irg = irg;
clear_irg_properties(irg, IR_GRAPH_PROPERTY_NO_BADS);
''' '''
@op @op
......
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