summaryrefslogtreecommitdiff
path: root/6
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-08-20 11:38:26 -0700
committerOri Bernstein <ori@eigenstate.org>2015-08-20 11:38:26 -0700
commit58d89cfed95d30bcd7fdfed4973237121803ad70 (patch)
treefee013ae7f3932b2ba08103e8fe8071954e04970 /6
parentc34f7840a5c1984deb9bedf2817aa0c8d4b09b83 (diff)
downloadmc-58d89cfed95d30bcd7fdfed4973237121803ad70.tar.gz
Update Plan 9 build for new ABI.
Diffstat (limited to '6')
-rw-r--r--6/isel.c1
-rw-r--r--6/ra.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/6/isel.c b/6/isel.c
index 9cf81b6..12f3039 100644
--- a/6/isel.c
+++ b/6/isel.c
@@ -89,6 +89,7 @@ static Mode mode(Node *n)
return tymode(n->decl.type);
else
die("invalid node type");
+ return ModeNone;
}
static Loc *loc(Isel *s, Node *n)
diff --git a/6/ra.c b/6/ra.c
index 2f76c2a..14750c6 100644
--- a/6/ra.c
+++ b/6/ra.c
@@ -945,7 +945,6 @@ static void selspill(Isel *s)
/* FIXME: pick a better heuristic for spilling */
m = NULL;
_isel = s;
- qsort(s->wlspill, s->nwlspill, sizeof s->wlspill[0], loccmp);
for (i = 0; i < s->nwlspill; i++) {
if (!bshas(s->shouldspill, s->wlspill[i]->reg.id))
continue;