summaryrefslogtreecommitdiff
path: root/6/ra.c
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2013-01-29 09:58:30 -0500
committerOri Bernstein <ori@eigenstate.org>2013-01-29 09:58:30 -0500
commitb474f4b5e52fdabfec503d8666aefe35bdbdb7f1 (patch)
tree8e9cf94e0beb222cff83e4deb196b2cfba21f120 /6/ra.c
parentf6e81804fafb07980cde274e5350e081e61a6a28 (diff)
downloadmc-b474f4b5e52fdabfec503d8666aefe35bdbdb7f1.tar.gz
Stub in callee save registers.
Don't enable them since they're broken, but stub them in.
Diffstat (limited to '6/ra.c')
-rw-r--r--6/ra.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/6/ra.c b/6/ra.c
index d1f13a2..6373b7d 100644
--- a/6/ra.c
+++ b/6/ra.c
@@ -996,8 +996,10 @@ void regalloc(Isel *s)
s->prepainted = mkbs();
s->shouldspill = mkbs();
s->neverspill = mkbs();
+#if 0
for (i = 0; i < Nsaved; i++)
bsput(s->shouldspill, s->calleesave[i]->reg.id);
+#endif
for (i = 0; i < maxregid; i++)
if (locmap[i]->reg.colour)
bsput(s->prepainted, i);