[hackers] [scc] [cc2-qbe] Remove OPAR from the cgen() switch || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Tue, 7 Jun 2016 09:52:02 +0200 (CEST)

commit b7dbd49918a0863c8e9117aa6c82523a27a28b97
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Tue Jun 7 09:50:25 2016 +0200
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Tue Jun 7 09:50:25 2016 +0200

    [cc2-qbe] Remove OPAR from the cgen() switch
    
    We already implemented this operator, and it should not
    happen ever in the switch, so it is better to remove it
    and let that the default case handle it.

diff --git a/cc2/arch/qbe/cgen.c b/cc2/arch/qbe/cgen.c
index 77ec71e..8253d2b 100644
--- a/cc2/arch/qbe/cgen.c
+++ b/cc2/arch/qbe/cgen.c
_AT_@ -434,7 +434,6 @@ cgen(Node *np)
                 load(np, LOADL|FORCE);
                 return tmpnode(np);
         case OCPL:
- case OPAR:
         case ONEG:
         case OINC:
         case ODEC:
Received on Tue Jun 07 2016 - 09:52:02 CEST

This archive was generated by hypermail 2.3.0 : Tue Jun 07 2016 - 10:00:16 CEST