shithub: scc

Download patch

ref: c8e1837d9e661d706c6b43b8930b16308404f3e2
parent: 9607a8811f32fa164f8f33b62d56fa61c8cdb292
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Fri Jan 20 05:01:38 EST 2017

[cc2-qbe] Small stylistic change

np->left == l

--- a/cc2/arch/qbe/cgen.c
+++ b/cc2/arch/qbe/cgen.c
@@ -552,7 +552,7 @@
                 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: