diff options
| author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-12-18 13:16:40 -0500 |
|---|---|---|
| committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-12-18 13:16:40 -0500 |
| commit | d43958ee71f3c0eef2c48e53b40bc9f6571b3805 (patch) | |
| tree | 23bf93435c5dfd1474f191ef43c070535127cadd | |
| parent | 587d02df4f8a4c21ccbb824bd17ebcc14ac74b98 (diff) | |
| download | roux-d43958ee71f3c0eef2c48e53b40bc9f6571b3805.tar.gz | |
fix isel typo
| -rw-r--r-- | lisc/isel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisc/isel.c b/lisc/isel.c index b16308d..7af27d9 100644 --- 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 |
