summary refs log tree commit diff
path: root/sysv.c
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-08-14 18:09:49 -0700
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-08-14 18:09:49 -0700
commitfaa084cca9c764e86c2751109352a599a8782b8a (patch)
tree528b950fca3e03cb48cbed9ac957d20305aa9cfd /sysv.c
parent12755db1aaea6f4ba1f380f5f34842b4e2a28f26 (diff)
downloadroux-faa084cca9c764e86c2751109352a599a8782b8a.tar.gz
get rid of old Alt enum
Diffstat (limited to 'sysv.c')
-rw-r--r--sysv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysv.c b/sysv.c
index 2cb3c4f..b011bff 100644
--- a/sysv.c
+++ b/sysv.c
@@ -172,7 +172,7 @@ classify(Ins *i0, Ins *i1, AClass *ac, int op, AClass *aret)
 			a->size = 8;
 			a->cls[0] = i->cls;
 		} else {
-			n = i->arg[0].val & AMask;
+			n = i->arg[0].val;
 			aclass(a, &typ[n]);
 			if (a->inmem)
 				continue;