mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 488272 - Crash [@ RebindLets] (r=mrbkap).
This commit is contained in:
parent
898204a579
commit
8f9886f858
@ -4109,10 +4109,12 @@ RebindLets(JSParseNode *pn, JSTreeContext *tc)
|
||||
ForgetUse(pn);
|
||||
|
||||
JSAtomListElement *ale = tc->decls.lookup(pn->pn_atom);
|
||||
while ((ale = ALE_NEXT(ale)) != NULL) {
|
||||
if (ALE_ATOM(ale) == pn->pn_atom) {
|
||||
LinkUseToDef(pn, ALE_DEFN(ale), tc);
|
||||
return true;
|
||||
if (ale) {
|
||||
while ((ale = ALE_NEXT(ale)) != NULL) {
|
||||
if (ALE_ATOM(ale) == pn->pn_atom) {
|
||||
LinkUseToDef(pn, ALE_DEFN(ale), tc);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user