Commit 1e4f77bd authored by Manuel Mohr's avatar Manuel Mohr
Browse files

Indent according to coding style.

parent 2b8adc83
......@@ -173,23 +173,23 @@ static int firm_emit(lc_appendable_t *app, const lc_arg_occ_t *occ,
else
strncpy(tv_buf, "(NULL)", sizeof(tv_buf));
snprintf(buf, sizeof(buf), "%s%s %s<%s>", A("irn"), get_irn_opname(node),
get_mode_name(get_irn_mode(node)), tv_buf);
get_mode_name(get_irn_mode(node)), tv_buf);
} else if (is_Address(node)) {
snprintf(buf, sizeof(buf), "%s%s %s[%s]", A("irn"), get_irn_opname(node),
get_mode_name(get_irn_mode(node)), get_entity_name(get_Address_entity(node)));
get_mode_name(get_irn_mode(node)), get_entity_name(get_Address_entity(node)));
} else if (is_Member(node)) {
ir_entity *entity = get_Member_entity(node);
const char *entity_name = "(null)";
if (entity != NULL)
entity_name = get_entity_name(entity);
snprintf(buf, sizeof(buf), "%s%s %s[%s]", A("irn"), get_irn_opname(node),
get_mode_name(get_irn_mode(node)), entity_name);
get_mode_name(get_irn_mode(node)), entity_name);
} else if (is_Cmp(node)) {
ir_relation relation = get_Cmp_relation(node);
snprintf(buf, sizeof(buf), "%s%s %s", A("irn"), get_irn_opname(node), get_relation_string(relation));
} else {
snprintf(buf, sizeof(buf), "%s%s %s", A("irn"), get_irn_opname(node),
get_mode_name(get_irn_mode(node)));
get_mode_name(get_irn_mode(node)));
}
snprintf(add, sizeof(add), "[%ld:%u]", get_irn_node_nr(node), get_irn_idx(node));
}
......
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