mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 780549 part 2 - Check returned value of AutoEnterCompilation::init in Ion compilation. r=bhackett a=abillings
This commit is contained in:
parent
03688bc401
commit
4b3ce2262c
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user