diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-08-19 10:58:04 -0400 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-09-15 23:01:32 -0400 |
commit | 95bcc46e151b224f51c9fc37175baa1537fe63d0 (patch) | |
tree | 668f0edcd4996d02a486c555d133253360afa673 | |
parent | e361a51248ca4cdea89395d53b24e98d9b1805a2 (diff) | |
download | roux-95bcc46e151b224f51c9fc37175baa1537fe63d0.tar.gz |
OXTestw should not have 64bits arguments
-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 70550ff..2d69c4d 100644 --- a/lisc/isel.c +++ b/lisc/isel.c @@ -175,7 +175,7 @@ sel(Ins i, Fn *fn) break; case OXTestw: case OXTestl: - n = 2; + n = i.op == OXTestl ? 2 : 0; goto Emit; case OSext: case OZext: |