From 1477dffe32ae769c15ee49e77c5f0856bd0f56ea Mon Sep 17 00:00:00 2001 From: Quentin Carbonneaux Date: Tue, 4 Aug 2015 19:39:01 -0400 Subject: use cmp $0, it works with spill slots --- lisc/spill.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lisc/spill.c') diff --git a/lisc/spill.c b/lisc/spill.c index 64200af..30adb35 100644 --- a/lisc/spill.c +++ b/lisc/spill.c @@ -334,6 +334,7 @@ spill(Fn *fn) assert(bcnt(&v) <= nreg); /* 2. process the block instructions */ +#if 0 if (rtype(b->jmp.arg) == RTmp) { j = b->jmp.arg.val; if (!BGET(v, j) && l==nreg) { @@ -342,6 +343,7 @@ spill(Fn *fn) } BSET(v, j); } +#endif curi = &insb[NIns]; for (i=&b->ins[b->nins]; i!=b->ins;) { assert(bcnt(&v) <= nreg); -- cgit 1.4.1