mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Bug 987947 - Check NewCompilerConstraintList() return. r=efaust
This commit is contained in:
parent
939be317e4
commit
c3a8061349
@ -2178,6 +2178,9 @@ jit::AnalyzeNewScriptProperties(JSContext *cx, JSFunction *fun,
|
||||
const OptimizationInfo *optimizationInfo = js_IonOptimizations.get(Optimization_Normal);
|
||||
|
||||
types::CompilerConstraintList *constraints = types::NewCompilerConstraintList(temp);
|
||||
if (!constraints)
|
||||
return false;
|
||||
|
||||
BaselineInspector inspector(script);
|
||||
const JitCompileOptions options(cx);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user