зеркало из https://github.com/mozilla/gecko-dev.git
Bug 780549 part 2 - Check returned value of AutoEnterCompilation::init in Ion compilation. r=bhackett a=abillings
This commit is contained in:
Родитель
7482ee38c6
Коммит
00cced9111
|
@ -1178,7 +1178,8 @@ IonCompile(JSContext *cx, HandleScript script, HandleFunction fun, jsbytecode *o
|
|||
AutoFlushCache afc("IonCompile");
|
||||
|
||||
types::AutoEnterCompilation enterCompiler(cx, CompilerOutputKind(executionMode));
|
||||
enterCompiler.init(script, false, 0);
|
||||
if (!enterCompiler.init(script, false, 0))
|
||||
return false;
|
||||
|
||||
AutoTempAllocatorRooter root(cx, temp);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче