diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-11-08 10:36:02 -0500 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-11-08 10:36:48 -0500 |
commit | fbf74646e1c2bd1a7b9def14b9d3e7f304a69e35 (patch) | |
tree | f4bf579b76425df4829e7e5c68a9f2081f2f6474 | |
parent | 5e0c991af9052f74dfa7e31864d4b9914977ba8c (diff) | |
download | roux-fbf74646e1c2bd1a7b9def14b9d3e7f304a69e35.tar.gz |
uniformize temporary names in minic
-rw-r--r-- | minic/minic.y | 4 |
1 files changed, 2 insertions, 2 deletions
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); } }; |