wip on new stack slots (emit, spill)

This commit is contained in:
Quentin Carbonneaux 2015-09-29 22:25:49 -04:00
parent ae158a5c40
commit e2174da2f1
6 changed files with 59 additions and 35 deletions

View file

@ -48,7 +48,7 @@ rref(RMap *m, int t)
r = rfind(m, t);
if (r == -1) {
s = tmp[t].spill;
assert(s && "should have spilled");
assert(s != -1 && "should have spilled");
return SLOT(s);
} else
return TMP(r);