commit 4fca380b83f755487cd5e6c1f1b6cfc8c54674da
parent 2684dd7231882c4fff6b68de3131b816dd456477
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Sat, 24 Sep 2016 15:33:47 +0200
[cc2] Fix whitespaces errors
Diffstat:
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/cc2/arch/qbe/cgen.c b/cc2/arch/qbe/cgen.c
@@ -572,16 +572,16 @@ cgen(Node *np)
label2node(&ifyes, np->u.sym);
code(ASJMP, NULL, &ifyes, NULL);
break;
- case OBRANCH:
- next = np->next;
- if (!next->label)
- next->label = newlabel();
+ case OBRANCH:
+ next = np->next;
+ if (!next->label)
+ next->label = newlabel();
- label2node(&ifyes, np->u.sym);
- label2node(&ifno, next->label);
+ label2node(&ifyes, np->u.sym);
+ label2node(&ifno, next->label);
rhs(np->left, &ret);
code(ASBRANCH, &ret, &ifyes, &ifno);
- break;
+ break;
case ORET:
p = (np->left) ? rhs(np->left, &ret) : NULL;
code(ASRET, NULL, p, NULL);
diff --git a/cc2/cc2.h b/cc2/cc2.h
@@ -188,11 +188,11 @@ struct addr {
};
struct inst {
- unsigned char op;
+ unsigned char op;
unsigned char flags;
Symbol *label;
- Inst *next, *prev;
- Addr from1, from2, to;
+ Inst *next, *prev;
+ Addr from1, from2, to;
};
/* main.c */