ref: efb73d93688493a11f66205ebe7fd00e20d32b01
parent: 68cbebc85a6394a3e23a75f911330eed9022629c
author: Ori Bernstein <[email protected]>
date: Tue Dec 23 05:46:16 EST 2014
Fix typos.
--- a/6/genp9.c
+++ b/6/genp9.c
@@ -96,19 +96,18 @@
fprintf(fd, "%s", l->mem.lbldisp);
}
if (!l->mem.base || l->mem.base->reg.colour == Rrip) {
- fprintf(fd, "+0(SB)");
+ fprintf(fd, "+0(SB)");
} else {
fprintf(fd, "(");
locprint(fd, l->mem.base, 'r');
fprintf(fd, ")");
}
- if (l->mem.idx) {
- fprintf(fd, "(");
- locprint(fd, l->mem.idx, 'r');
- if (l->mem.scale > 1)
- fprintf(fd, "*%d", l->mem.scale);
- fprintf(fd, ")");
- }
+ if (l->mem.idx) {
+ fprintf(fd, "(");
+ locprint(fd, l->mem.idx, 'r');
+ if (l->mem.scale > 1)
+ fprintf(fd, "*%d", l->mem.scale);
+ fprintf(fd, ")");
}
}