Fix register allocation around inline returns, bug 713209.

This commit is contained in:
Brian Hackett 2011-12-28 08:00:24 -07:00
Родитель 1123c2e912
Коммит 7e8358efab
2 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -1125,8 +1125,10 @@ FrameState::frameSlot(ActiveFrame *a, const FrameEntry *fe) const
}
inline JSC::MacroAssembler::Address
FrameState::addressForInlineReturn() const
FrameState::addressForInlineReturn()
{
if (a->callee_->isTracked())
discardFe(a->callee_);
return addressOf(a->callee_);
}

Просмотреть файл

@ -877,7 +877,7 @@ class FrameState
Address addressForDataRemat(const FrameEntry *fe) const;
// Inside an inline frame, the address for the return value in the caller.
Address addressForInlineReturn() const;
Address addressForInlineReturn();
inline StateRemat dataRematInfo(const FrameEntry *fe) const;