Skip to content

Commit

Permalink
SERVER-30502 --disableJavaScriptJIT does not disable JIT
Browse files Browse the repository at this point in the history
(cherry picked from commit b0338af)
  • Loading branch information
markbenvenuto authored and acmorrow committed Oct 1, 2017
1 parent 08e4f21 commit 2bf0b19
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/mongo/scripting/mozjs/implscope.cpp
Expand Up @@ -341,6 +341,14 @@ MozJSImplScope::MozRuntime::MozRuntime(const MozJSScriptEngine* engine) {
.setIon(true)
.setAsyncStack(false)
.setNativeRegExp(true);
} else {
JS::RuntimeOptionsRef(_runtime.get())
.setAsmJS(false)
.setThrowOnAsmJSValidationFailure(false)
.setBaseline(false)
.setIon(false)
.setAsyncStack(false)
.setNativeRegExp(false);
}

const StackLocator locator;
Expand Down

0 comments on commit 2bf0b19

Please sign in to comment.