[hackers] [scc] [cc2-qbe] Small stylistic change || Roberto E. Vargas Caballero
commit 6c9e5fb095694abd416c9e19e001a672eb593b05
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Fri Jan 20 10:01:38 2017 +0100
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Fri Jan 20 10:01:38 2017 +0100
[cc2-qbe] Small stylistic change
np->left == l
diff --git a/cc2/arch/qbe/cgen.c b/cc2/arch/qbe/cgen.c
index 14b2a5f..6ce17c1 100644
--- a/cc2/arch/qbe/cgen.c
+++ b/cc2/arch/qbe/cgen.c
_AT_@ -552,7 +552,7 @@ rhs(Node *np, Node *ret)
code(op, ret, &aux1, &aux2);
return ret;
case OCALL:
- if (np->left->op == OPTR)
+ if (l->op == OPTR)
np = rhs(l, &aux1);
return call(np, ret);
case OCAST:
Received on Fri Jan 20 2017 - 10:03:24 CET
This archive was generated by hypermail 2.3.0
: Fri Jan 20 2017 - 10:12:20 CET