summary refs log tree commit diff
path: root/lisc/spill.c
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-10-20 16:19:00 -0400
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-10-30 13:20:42 -0400
commit4bce97b16bc393e945c1955bf900364f5a456202 (patch)
treeeddbc67574f34a8cae717c7497f07e50a9fc07e4 /lisc/spill.c
parenta7e7d73a7e41216436c334c89b7318e698e828f6 (diff)
downloadroux-4bce97b16bc393e945c1955bf900364f5a456202.tar.gz
rename spill field in Tmp to slot
Diffstat (limited to 'lisc/spill.c')
-rw-r--r--lisc/spill.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisc/spill.c b/lisc/spill.c
index 2ed25b4..8e647a4 100644
--- a/lisc/spill.c
+++ b/lisc/spill.c
@@ -140,7 +140,7 @@ slot(int t)
 
 	if (t < Tmp0)
 		diag("spill: cannot spill register");
-	s = tmp[t].spill;
+	s = tmp[t].slot;
 	if (s == -1) {
 		assert(NAlign == 3);
 		/* nice logic to pack stack slots
@@ -163,7 +163,7 @@ slot(int t)
 				slot4 = slot8;
 		}
 		s += locs;
-		tmp[t].spill = s;
+		tmp[t].slot = s;
 	}
 	return SLOT(s);
 }
@@ -375,7 +375,7 @@ spill(Fn *fn)
 					BCLR(v, t);
 				else
 					limit(&v, NReg-1, 0);
-				s = tmp[t].spill;
+				s = tmp[t].slot;
 			}
 			j = opdesc[i->op].nmem;
 			if (!j && rtype(i->arg[0]) == RTmp)
@@ -394,7 +394,7 @@ spill(Fn *fn)
 			t = p->to.val;
 			if (BGET(v, t)) {
 				BCLR(v, t);
-				s = tmp[t].spill;
+				s = tmp[t].slot;
 				if (s != -1)
 					store(p->to, s);
 			} else