shithub: mc

Download patch

ref: d85412f121b5a4bcb8f0e80fd094de363d490117
parent: dde43f18e3b9f699c188c74064cf785917b41e22
author: Ori Bernstein <ori@eigenstate.org>
date: Sun Oct 29 17:33:17 EDT 2017

Remove obsolete debugging.

--- a/6/simp.c
+++ b/6/simp.c
@@ -1431,16 +1431,7 @@
 	for (i = 0; i < s->nstmts; i++) {
 		if (s->stmts[i]->type != Nexpr)
 			continue;
-		if (debugopt['f']) {
-			printf("FOLD FROM ----------\n");
-			dump(s->stmts[i], stdout);
-		}
 		s->stmts[i] = fold(s->stmts[i], 0);
-		if (debugopt['f']) {
-			printf("TO ------------\n");
-			dump(s->stmts[i], stdout);
-			printf("DONE ----------------\n");
-		}
 	}
 
 	cfg = mkcfg(dcl, s->stmts, s->nstmts);