[hackers] [scc/qbe] [cc2-qbe] Ignore OBLOOP and OELOOP || Roberto E. Vargas Caballero

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

commit c38a9a544f367f22a57990aeca32fdc8e81bda6e
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Wed Aug 17 14:10:36 2016 +0200
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Wed Aug 17 14:29:25 2016 +0200

    [cc2-qbe] Ignore OBLOOP and OELOOP
    
    These ops are not used in qbe at all.

diff --git a/cc2/arch/qbe/cgen.c b/cc2/arch/qbe/cgen.c
index efed0ab..b22e262 100644
--- a/cc2/arch/qbe/cgen.c
+++ b/cc2/arch/qbe/cgen.c
_AT_@ -416,6 +416,8 @@ rhs(Node *np, Node *ret)
         case OBFUN:
                 return function();
         case ONOP:
+ case OBLOOP:
+ case OELOOP:
         case OEFUN:
                 return NULL;
         case OCONST:
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:53 CEST