shithub: mc

Download patch

ref: f2cc5d160e3b61ac3c3d6c1b4c09222264af035a
parent: 37851f1670b9022625f90b6c5412acf212618a05
author: Ori Bernstein <ori@eigenstate.org>
date: Fri Feb 26 11:59:45 EST 2016

remove debug prints.

--- a/6/gen.c
+++ b/6/gen.c
@@ -138,7 +138,6 @@
 			p += bprintf(p, end - p, "_tydesc$%s%s%s$%d", ns, sep, ty->name->name.name, ty->tid);
 		for (i = 0; i < ty->narg; i++)
 			p += tyidfmt(p, end - p, ty->arg[i]);
-		printf("gen %s => %s\n", tystr(ty), buf);
 	} else {
 		if (file->file.globls->name) {
 			ns = file->file.globls->name;
--- a/6/genp9.c
+++ b/6/genp9.c
@@ -472,10 +472,8 @@
 	for (i = 0; i < nfn; i++)
 		genfunc(fd, fn[i], globls, strtab);
 	for (i = 0; i < ntypes; i++)
-		if (types[i]->isreflect && !types[i]->isimport) {
+		if (types[i]->isreflect && !types[i]->isimport)
 			gentype(fd, types[i]);
-			printf("gen %s\n", tystr(types[i]));
-		}
 	fprintf(fd, "\n");
 	genstrings(fd, strtab);