shithub: scc

Download patch

ref: 6d5bea0f5b5b0e0f4c92bce3b1819f4cd52892f7
parent: ca0ece0f8b28bb28836261a3dc4fdb79a1970fd7
author: Roberto E. Vargas Caballero <[email protected]>
date: Tue Jun 7 05:50:25 EDT 2016

[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.

--- a/cc2/arch/qbe/cgen.c
+++ b/cc2/arch/qbe/cgen.c
@@ -434,7 +434,6 @@
 		load(np, LOADL|FORCE);
 		return tmpnode(np);
 	case OCPL:
-	case OPAR:
 	case ONEG:
 	case OINC:
 	case ODEC: