qbe

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

commit d43958ee71f3c0eef2c48e53b40bc9f6571b3805
parent 587d02df4f8a4c21ccbb824bd17ebcc14ac74b98
Author: Quentin Carbonneaux <quentin.carbonneaux@yale.edu>
Date:   Fri, 18 Dec 2015 13:16:40 -0500

fix isel typo

Diffstat:
Mlisc/isel.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisc/isel.c b/lisc/isel.c @@ -152,7 +152,7 @@ selcmp(Ref arg[2], int k, Fn *fn) } assert(rtype(arg[0]) != RCon); emit(OXCmp, k, R, arg[1], arg[0]); - fixarg(&curi->arg[1], argcls(curi), 0, fn); + fixarg(&curi->arg[0], argcls(curi), 0, fn); } static void