ref: 771cd99ddf086d2feb4112fef7082f45a004fea9
parent: c6f49171ce8b601b0b83ced09dfeb825fabf7233
author: Ori Bernstein <[email protected]>
date: Thu Jun 14 23:43:28 EDT 2012
Fix up allocation a bit more.
--- a/8/ra.c
+++ b/8/ra.c
@@ -325,7 +325,7 @@
for (k = 0; k < nd; k++)
bsdel(live, d[k]);
for (k = 0; k < nu; k++)
- bsdel(live, u[k]);
+ bsput(live, u[k]);
}
}
}
@@ -607,6 +607,7 @@
if (!taken[i]) {
n->reg.colour = regmap[i][n->mode];
found = 1;
+ break;
}
}
if (!found) {