summary refs log tree commit diff
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-02-15 22:15:11 -0500
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-02-15 22:15:11 -0500
commit7d203e7f9994d89ddabfd6903c9f9019e9485447 (patch)
treeb550e19978139aa5921a402f11a1ab8b1e265d7c
parent6dc1cdead0566fdb05160d68b69749a13cc600cb (diff)
downloadroux-7d203e7f9994d89ddabfd6903c9f9019e9485447.tar.gz
better variable name in selcall()
-rw-r--r--lisc/isel.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisc/isel.c b/lisc/isel.c
index 1688aea..dff2c4d 100644
--- a/lisc/isel.c
+++ b/lisc/isel.c
@@ -571,12 +571,12 @@ selcall(Fn *fn, Ins *i0, Ins *i1)
 {
 	Ins *i;
 	AClass *ac, *a;
-	int ci, ni, ns;
+	int ca, ni, ns;
 	uint stk, sz;
 	Ref r, r1;
 
 	ac = alloc((i1-i0) * sizeof ac[0]);
-	ci = classify(i0, i1, ac, OArg);
+	ca = classify(i0, i1, ac, OArg);
 
 	for (stk=0, a=&ac[i1-i0]; a>ac;)
 		if ((--a)->inmem) {
@@ -594,7 +594,7 @@ selcall(Fn *fn, Ins *i0, Ins *i1)
 		emit(OSAlloc, Kl, R, r, R);
 	}
 	emit(OCopy, i1->cls, i1->to, TMP(RAX), R);
-	emit(OCall, i1->cls, R, i1->arg[0], CALL(1 + ci));
+	emit(OCall, i1->cls, R, i1->arg[0], CALL(1 + ca));
 
 	for (i=i0, a=ac, ni=ns=0; i<i1; i++, a++) {
 		if (a->inmem)