summary refs log tree commit diff
path: root/lisc
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-02-15 15:15:40 -0500
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-02-15 16:34:16 -0500
commit740ebf164de3cda6e729bb14969366bef0492f02 (patch)
tree3e002934359aa2d36a63590e11687e914ef275cc /lisc
parent16e430935db1f928452767af23ea1a1c6d000299 (diff)
downloadroux-740ebf164de3cda6e729bb14969366bef0492f02.tar.gz
partial fix argcls() in isel
Diffstat (limited to 'lisc')
-rw-r--r--lisc/isel.c2
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;
 }