added indentation to label dump

git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@19 4df02467-bbd4-4a76-a152-e7ce94205b78
This commit is contained in:
marcobaye 2013-09-25 16:27:23 +00:00
parent 33640766b1
commit 70a5f68708

View File

@ -36,15 +36,15 @@ static void dump_one_label(struct node_ra_t *node, FILE *fd)
fprintf(fd, "%s", node->id_string); fprintf(fd, "%s", node->id_string);
switch (label->result.flags & MVALUE_FORCEBITS) { switch (label->result.flags & MVALUE_FORCEBITS) {
case MVALUE_FORCE16: case MVALUE_FORCE16:
fprintf(fd, "+2="); fprintf(fd, "+2\t= ");
break; break;
case MVALUE_FORCE16 | MVALUE_FORCE24: case MVALUE_FORCE16 | MVALUE_FORCE24:
/*FALLTHROUGH*/ /*FALLTHROUGH*/
case MVALUE_FORCE24: case MVALUE_FORCE24:
fprintf(fd, "+3="); fprintf(fd, "+3\t= ");
break; break;
default: default:
fprintf(fd, " ="); fprintf(fd, "\t= ");
} }
if (label->result.flags & MVALUE_DEFINED) { if (label->result.flags & MVALUE_DEFINED) {
if (label->result.flags & MVALUE_IS_FP) if (label->result.flags & MVALUE_IS_FP)
@ -55,9 +55,9 @@ static void dump_one_label(struct node_ra_t *node, FILE *fd)
fprintf(fd, " ?"); fprintf(fd, " ?");
} }
if (label->result.flags & MVALUE_UNSURE) if (label->result.flags & MVALUE_UNSURE)
fprintf(fd, "; ?"); fprintf(fd, "\t; ?");
if (label->usage == 0) if (label->usage == 0)
fprintf(fd, "; unused"); fprintf(fd, "\t; unused");
fprintf(fd, "\n"); fprintf(fd, "\n");
} }