mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 05:45:37 +00:00
Bug 733863 - Initialise outparams in callee (LoopState::getEntryValue) rather than at all call points. r=bhackett
This commit is contained in:
parent
b6f1345f82
commit
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;
|
||||
|
Loading…
Reference in New Issue
Block a user