sp_adj is now maintained in bytes, not words, so +8 is now the magic value to point to the top of the stack. All stores above that watermark are eliminated by StackFilter in nanojit.

This commit is contained in:
Andreas Gal 2008-07-08 21:03:30 -07:00
parent c9ee018202
commit 216f33a0bb

View File

@ -947,7 +947,7 @@ TraceRecorder::stop()
int
nanojit::StackFilter::getTop(LInsp guard)
{
return guard->exit()->sp_adj+4;
return guard->exit()->sp_adj + 8;
}
#if defined NJ_VERBOSE