summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2016-02-26 16:59:45 -0800
committerOri Bernstein <ori@eigenstate.org>2016-02-26 16:59:45 -0800
commitf2cc5d160e3b61ac3c3d6c1b4c09222264af035a (patch)
tree225306daf02e9295d1348e83d837808364283138
parent37851f1670b9022625f90b6c5412acf212618a05 (diff)
downloadmc-f2cc5d160e3b61ac3c3d6c1b4c09222264af035a.tar.gz
remove debug prints.
-rw-r--r--6/gen.c1
-rw-r--r--6/genp9.c4
2 files changed, 1 insertions, 4 deletions
diff --git a/6/gen.c b/6/gen.c
index 036edbf..25df139 100644
--- a/6/gen.c
+++ b/6/gen.c
@@ -138,7 +138,6 @@ char *tydescid(char *buf, size_t bufsz, Type *ty)
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;
diff --git a/6/genp9.c b/6/genp9.c
index 0757581..d61cc83 100644
--- a/6/genp9.c
+++ b/6/genp9.c
@@ -472,10 +472,8 @@ void genp9(Node *file, char *out)
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);