qbe

Internal scc patchset buffer for QBE
Log | Files | Refs | README | LICENSE

commit fbf74646e1c2bd1a7b9def14b9d3e7f304a69e35
parent 5e0c991af9052f74dfa7e31864d4b9914977ba8c
Author: Quentin Carbonneaux <quentin.carbonneaux@yale.edu>
Date:   Sun,  8 Nov 2015 10:36:02 -0500

uniformize temporary names in minic

Diffstat:
Mminic/minic.y | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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); } };