diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2016-02-15 15:15:40 -0500 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2016-02-15 16:34:16 -0500 |
commit | 740ebf164de3cda6e729bb14969366bef0492f02 (patch) | |
tree | 3e002934359aa2d36a63590e11687e914ef275cc /lisc | |
parent | 16e430935db1f928452767af23ea1a1c6d000299 (diff) | |
download | roux-740ebf164de3cda6e729bb14969366bef0492f02.tar.gz |
partial fix argcls() in isel
Diffstat (limited to 'lisc')
-rw-r--r-- | lisc/isel.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisc/isel.c b/lisc/isel.c index d5ccdd7..6937aaf 100644 --- a/lisc/isel.c +++ b/lisc/isel.c @@ -106,6 +106,8 @@ static int argcls(Ins *i) { /* fixme, not correct for some instructions (bcast) */ + if (OLoad <= i->op && i->op <= OLoad1) + return Kl; return i->cls; } |