summary refs log tree commit diff
path: root/sysv.c
diff options
context:
space:
mode:
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 34f2904..25d9859 100644
--- a/sysv.c
+++ b/sysv.c
@@ -177,7 +177,7 @@ classify(Ins *i0, Ins *i1, AClass *ac, int op, AClass *aret)
 			if (a->inmem)
 				continue;
 			ni = ns = 0;
-			for (n=0; n<2; n++)
+			for (n=0; (uint)n*8<a->size; n++)
 				if (KBASE(a->cls[n]) == 0)
 					ni++;
 				else