shithub: scc

Download patch

ref: 4f2c1d31306ca66b75de52c0c424a61d56566e91
parent: 3cea2cc045613d03524b69dc7b5a116105c54202
author: Roberto E. Vargas Caballero <[email protected]>
date: Wed Aug 17 10:10:36 EDT 2016

[cc2-qbe] Ignore OBLOOP and OELOOP

These ops are not used in qbe at all.

--- a/cc2/arch/qbe/cgen.c
+++ b/cc2/arch/qbe/cgen.c
@@ -416,6 +416,8 @@
 	case OBFUN:
 		return function();
 	case ONOP:
+	case OBLOOP:
+	case OELOOP:
 	case OEFUN:
 		return NULL;
 	case OCONST: