зеркало из https://github.com/mozilla/gecko-dev.git
Bug 733863 - Initialise outparams in callee (LoopState::getEntryValue) rather than at all call points. r=bhackett
This commit is contained in:
Родитель
b6f1345f82
Коммит
acff466a14
|
@ -2088,6 +2088,9 @@ LoopState::adjustConstantForIncrement(jsbytecode *pc, uint32_t slot)
|
|||
bool
|
||||
LoopState::getEntryValue(const CrossSSAValue &iv, uint32_t *pslot, int32_t *pconstant)
|
||||
{
|
||||
*pslot = UNASSIGNED;
|
||||
*pconstant = 1;
|
||||
|
||||
CrossSSAValue cv = ssa->foldValue(iv);
|
||||
|
||||
JSScript *script = ssa->getFrame(cv.frame).script;
|
||||
|
|
Загрузка…
Ссылка в новой задаче