Bug 551039 - nanojit: account for eight-byte alignment of stack in StackFilter (TM-specific part). r=gal.

This commit is contained in:
Nicholas Nethercote 2010-03-12 15:36:42 +11:00
parent b54ddc33d7
commit a0e706dd4b

View File

@ -131,12 +131,11 @@ nanojit::Allocator::postReset() {
vma->mSize = 0;
}
void
StackFilter::getTops(LIns* guard, int& spTop, int& rpTop)
int
StackFilter::getTop(LIns* guard)
{
VMSideExit* e = (VMSideExit*)guard->record()->exit;
spTop = e->sp_adj;
rpTop = e->rp_adj;
return e->sp_adj;
}
#if defined NJ_VERBOSE