shithub: scc

Download patch

ref: 056b7ad0b618f1f41622629a7f30d408761e73ef
parent: d913a96fcbfe9650f1f824283a87de6586a8efdb
author: Roberto E. Vargas Caballero <[email protected]>
date: Tue Nov 16 01:13:07 EST 2021

cc2/qbe: Remove obsolete TODO

This TODO is obselete because we already know that it is not
a valid case anymore.

--- a/src/cmd/cc/cc2/target/qbe/cgen.c
+++ b/src/cmd/cc/cc2/target/qbe/cgen.c
@@ -323,7 +323,6 @@
 		op = (tp->flags & FLOATF) ? ASCOPYD : ASCOPYL;
 		break;
 	default:
-		/* TODO: Need to handle the general case */
 		abort();
 	}
 	code(op, to, from, NULL);