[hackers] [scc/qbe] [cc2-qbe] Add support for OCOMMA || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Wed, 17 Aug 2016 14:29:50 +0200 (CEST)

commit 249a65302879e222ad849fa548a41b5574bd608a
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Wed Aug 17 14:12:16 2016 +0200
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Wed Aug 17 14:29:25 2016 +0200

    [cc2-qbe] Add support for OCOMMA
    
    Like I already have said, the most difficult operator ever.

diff --git a/cc2/arch/qbe/cgen.c b/cc2/arch/qbe/cgen.c
index b22e262..287017a 100644
--- a/cc2/arch/qbe/cgen.c
+++ b/cc2/arch/qbe/cgen.c
_AT_@ -502,6 +502,8 @@ rhs(Node *np, Node *ret)
                 return assign(&aux2, ret);
         case OASK:
                 return ternary(np, ret);
+ case OCOMMA:
+ return rhs(np, ret);
         default:
                 abort();
         }
Received on Wed Aug 17 2016 - 14:29:50 CEST

This archive was generated by hypermail 2.3.0 : Wed Aug 17 2016 - 14:36:57 CEST