qbe

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

commit d1c348bf151500cadf5b694fa80f085f5555bc9e
parent 30eced928c404caae41d62f238270f00bdf7c25b
Author: Quentin Carbonneaux <quentin.carbonneaux@yale.edu>
Date:   Fri,  2 Oct 2015 15:36:48 -0400

oops, stupid swap in a printf

Diffstat:
Mminic/minic.y | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/minic/minic.y b/minic/minic.y @@ -224,7 +224,7 @@ Scale: if (irtyp(r->ctyp) != 'l') sext(r); sz = SIZE(DREF(l->ctyp)); - fprintf(of, "\t%%t%d =l mul %d, ", sz, tmp); + fprintf(of, "\t%%t%d =l mul %d, ", tmp, sz); psymb(*r); fprintf(of, "\n"); r->u.n = tmp++;