From fbf74646e1c2bd1a7b9def14b9d3e7f304a69e35 Mon Sep 17 00:00:00 2001 From: Quentin Carbonneaux Date: Sun, 8 Nov 2015 10:36:02 -0500 Subject: uniformize temporary names in minic --- minic/minic.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'minic') diff --git a/minic/minic.y b/minic/minic.y index 6c9d69d..b335f68 100644 --- a/minic/minic.y +++ b/minic/minic.y @@ -709,7 +709,7 @@ prot: IDENT '(' par0 ')' for (;;) { s = varget(n->u.v); fprintf(of, "%c ", irtyp(s->ctyp)); - fprintf(of, "%%tmp%d", tmp++); + fprintf(of, "%%t%d", tmp++); n = n->r; if (n) fprintf(of, ", "); @@ -722,7 +722,7 @@ prot: IDENT '(' par0 ')' s = varget(n->u.v); m = SIZE(s->ctyp); fprintf(of, "\t%%%s =l alloc%d %d\n", n->u.v, m, m); - fprintf(of, "\tstore%c %%tmp%d", irtyp(s->ctyp), t); + fprintf(of, "\tstore%c %%t%d", irtyp(s->ctyp), t); fprintf(of, ", %%%s\n", n->u.v); } }; -- cgit 1.4.1