From c396155ad84d53ac8d9cf861423159bbf6f2954a Mon Sep 17 00:00:00 2001 From: Itms Date: Fri, 2 Sep 2016 16:37:35 +0000 Subject: [PATCH] SpiderMonkey 38 upgrade: 22/35 Parallel compilation was renamed to Offthread compilation. Patch by leper. Addresses https://bugzilla.mozilla.org/show_bug.cgi?id=1020364 This was SVN commit r18676. --- source/scriptinterface/ScriptInterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/scriptinterface/ScriptInterface.cpp b/source/scriptinterface/ScriptInterface.cpp index 9710057f1c..74980be41e 100644 --- a/source/scriptinterface/ScriptInterface.cpp +++ b/source/scriptinterface/ScriptInterface.cpp @@ -341,7 +341,7 @@ ScriptInterface_impl::ScriptInterface_impl(const char* nativeScopeName, const sh m_cx = JS_NewContext(m_runtime->m_rt, STACK_CHUNK_SIZE); ENSURE(m_cx); - JS_SetParallelIonCompilationEnabled(m_runtime->m_rt, true); + JS_SetOffthreadIonCompilationEnabled(m_runtime->m_rt, true); // For GC debugging: // JS_SetGCZeal(m_cx, 2, JS_DEFAULT_ZEAL_FREQ);