shithub: scc

Download patch

ref: 1378681f247192bd5180a2124517424d17527060
parent: da15338f25bea8abab12d0eb8ac9ccf1881ae288
author: Quentin Rameau <[email protected]>
date: Fri Jun 3 08:51:41 EDT 2016

[driver] add support for scc ir file as input

--- a/driver/posix/scc.c
+++ b/driver/posix/scc.c
@@ -217,6 +217,8 @@
 	if (dot) {
 		if (!strcmp(dot, ".c"))
 			return CC1;
+		if (!strcmp(dot, ".ir"))
+			return CC2;
 		if (!strcmp(dot, ".qbe"))
 			return QBE;
 		if (!strcmp(dot, ".as"))