Commit 85c38f36 authored by Ray Strode's avatar Ray Strode
Browse files

jsauthority: re-enable JIT

seems to work with mozjs52
parent 7a3d3b86
......@@ -458,13 +458,10 @@ polkit_backend_js_authority_constructed (GObject *object)
if (!JS::InitSelfHostedCode (authority->priv->cx))
goto fail;
/* TODO: JIT'ing doesn't work will with killing runaway scripts... I think
* this is just a SpiderMonkey bug. So disable the JIT for now.
JS::ContextOptionsRef (authority->priv->cx)
.setIon (FALSE)
.setBaseline (FALSE)
.setAsmJS (FALSE);
.setIon (TRUE)
.setBaseline (TRUE)
.setAsmJS (TRUE);
JS::SetWarningReporter(authority->priv->cx, report_error);
JS_SetContextPrivate (authority->priv->cx, authority);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment