mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-31 11:37:30 +09:00
Issue #1624 - Make ion inlining optimizations a pref.
This also adds it to JS_SetGlobalJitCompilerOption()
This commit is contained in:
parent
d8fdbcd88c
commit
ec0865128b
6 changed files with 14 additions and 3 deletions
|
|
@ -299,10 +299,11 @@ nsJSUtils::CompileModule(JSContext* aCx,
|
|||
|
||||
NS_ENSURE_TRUE(xpc::Scriptability::Get(aEvaluationGlobal).Allowed(), NS_OK);
|
||||
|
||||
if (!JS::CompileModule(aCx, aCompileOptions, aSrcBuf, aModule)) {
|
||||
bool compileResult = JS::CompileModule(aCx, aCompileOptions, aSrcBuf, aModule);
|
||||
|
||||
if (!compileResult) {
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue