summary refs log tree commit diff
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-03-18 16:11:42 -0400
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-03-18 16:11:42 -0400
commit29ea37fa0602db27c87650b609c85c2de3e26864 (patch)
tree62e204c651951b47a557220e2dd2f36192977489
parent95df8e55fe8f6a0bdea19787f9c5deec8edd544c (diff)
downloadroux-29ea37fa0602db27c87650b609c85c2de3e26864.tar.gz
calls now use rax all the time...
-rw-r--r--lisc/isel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisc/isel.c b/lisc/isel.c
index e853f7b..a00c4f2 100644
--- a/lisc/isel.c
+++ b/lisc/isel.c
@@ -642,10 +642,10 @@ calluse(Ins i, int p[2])
 	for (j=0; j<nf; j++)
 		b |= BIT(XMM0+j);
 	if (p) {
-		p[0] = ni;
+		p[0] = ni + 1;
 		p[1] = nf;
 	}
-	return b;
+	return b | BIT(RAX);
 }
 
 static Ref