[hackers] [scc] [cc2-qbe] Fix OASSIG in cgen.c || Roberto E. Vargas Caballero
commit 9c68a8b2fe3756f5d9beed87ead96be63d0ab374
Author: Roberto E. Vargas Caballero <Roberto E. Vargas Caballero>
AuthorDate: Fri Apr 15 14:42:39 2016 +0200
Commit: Roberto E. Vargas Caballero <Roberto E. Vargas Caballero>
CommitDate: Fri Apr 15 14:42:39 2016 +0200
[cc2-qbe] Fix OASSIG in cgen.c
The order of the lhs and rhs of the assignation was wrong
diff --git a/cc2/arch/qbe/cgen.c b/cc2/arch/qbe/cgen.c
index 0fa5fd0..c4f503a 100644
--- a/cc2/arch/qbe/cgen.c
+++ b/cc2/arch/qbe/cgen.c
_AT_@ -96,7 +96,7 @@ cgen(Node *np)
case ODEC:
abort();
case OASSIG:
- code(op, l, l, r);
+ code(op, l, r, NULL);
return r;
case OCALL:
case OFIELD:
Received on Sat Apr 16 2016 - 09:42:19 CEST
This archive was generated by hypermail 2.3.0
: Sat Apr 16 2016 - 09:48:32 CEST