Commit 762b472f authored by Andreas Zwinkau's avatar Andreas Zwinkau
Browse files

cleanup

parent 296e3ca5
...@@ -1168,7 +1168,7 @@ static unsigned optimize_load(ir_node *load) ...@@ -1168,7 +1168,7 @@ static unsigned optimize_load(ir_node *load)
} }
if (get_entity_linkage(ent) & IR_LINKAGE_CONSTANT) { if (get_entity_linkage(ent) & IR_LINKAGE_CONSTANT) {
if (ent->initializer != NULL) { if (has_entity_initializer(ent)) {
/* new style initializer */ /* new style initializer */
value = find_compound_ent_value(ptr); value = find_compound_ent_value(ptr);
} else if (entity_has_compound_ent_values(ent)) { } else if (entity_has_compound_ent_values(ent)) {
......
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