ref: c405c48a66cc5a7eeb192db81d42c08da2b19d73
parent: afc55f2a912d03aab2cfde5de3ba76de6ece8ac3
author: Roberto E. Vargas Caballero <[email protected]>
date: Thu Feb 12 07:39:53 EST 2015
Remove incorrect assert in cgen() This assert was forcing to have operands of a node in registers, but this is something that it will not be always true, for example in an assignment.
--- a/cc2/cgen.c
+++ b/cc2/cgen.c
@@ -122,7 +122,6 @@
cgen(q);
}
- assert(lp && lp->op == REG || rp && rp->op == REG);
switch (np->op) {
case OADD:
switch (np->type->size) {