зеркало из https://github.com/mozilla/gecko-dev.git
Undo critical part of last change to try to fix crashing testerboxes.
This commit is contained in:
Родитель
45de4c26a7
Коммит
ab61333253
|
@ -989,7 +989,7 @@ js_NewScript(JSContext *cx, uint32 length, uint32 nsrcnotes, uint32 ntrynotes)
|
|||
JSScript *script;
|
||||
|
||||
/* Round up source note count to align script->trynotes for its type. */
|
||||
if (ntrynotes)
|
||||
/* XXX only if ntrynotes != 0, but then tinderbox tests crash */
|
||||
nsrcnotes += JSTRYNOTE_ALIGNMASK;
|
||||
script = (JSScript *) JS_malloc(cx,
|
||||
sizeof(JSScript) +
|
||||
|
|
Загрузка…
Ссылка в новой задаче