mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 517250 - Fix a bad assert. r=waldo
This commit is contained in:
parent
963fd74e53
commit
712df10db4
@ -2363,7 +2363,7 @@ js_TraceStackFrame(JSTracer *trc, JSStackFrame *fp)
|
||||
JS_ASSERT(nslots >= fp->script->nfixed);
|
||||
} else {
|
||||
nslots = fp->script->nfixed;
|
||||
JS_ASSERT_IF(!fp->regs->sp, nslots == 0);
|
||||
JS_ASSERT_IF(fp->regs && !fp->regs->sp, nslots == 0);
|
||||
}
|
||||
TRACE_JSVALS(trc, nslots, fp->slots, "slot");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user