summary refs log tree commit diff
path: root/lisc
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-08-15 17:25:20 -0400
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-09-15 23:01:31 -0400
commit670604e91f316383634b98b9c0c82de536335fa5 (patch)
tree27ef2ce1be36e34f8e48b70385716510c01a1e6c /lisc
parentae5fe3148284602ab4b226f94ab45da69b76acec (diff)
downloadroux-670604e91f316383634b98b9c0c82de536335fa5.tar.gz
handle OAnd in isel
Diffstat (limited to 'lisc')
-rw-r--r--lisc/isel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisc/isel.c b/lisc/isel.c
index 7d60bfc..6f2147f 100644
--- a/lisc/isel.c
+++ b/lisc/isel.c
@@ -175,6 +175,7 @@ sel(Ins i, Fn *fn)
 		break;
 	case OAdd:
 	case OSub:
+	case OAnd:
 	case OCopy:
 		if (fn->tmp[i.to.val].type == TLong)
 			n = 2;