зеркало из https://github.com/mozilla/gecko-dev.git
Incorrect upvar access on trace involving top-level scripts (507292, r=dmandelin).
This commit is contained in:
Родитель
dfacf199a2
Коммит
7d1a893295
|
@ -10373,7 +10373,7 @@ TraceRecorder::interpretedFunctionCall(jsval& fval, JSFunction* fun, uintN argc,
|
|||
if (callDepth >= treeInfo->maxCallDepth)
|
||||
treeInfo->maxCallDepth = callDepth + 1;
|
||||
if (callDepth == 0)
|
||||
fi->spoffset = 2 /*callee,this*/ + argc - fi->spdist;
|
||||
fi->spoffset = -fp->script->nfixed;
|
||||
|
||||
lir->insStorei(INS_CONSTPTR(fi), lirbuf->rp, callDepth * sizeof(FrameInfo*));
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче