Skip to content

Commit

Permalink
SERVER-30502 --disableJavaScriptJIT does not disable JIT
Browse files Browse the repository at this point in the history
  • Loading branch information
markbenvenuto committed Aug 14, 2017
1 parent 371282c commit b0338af
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/mongo/scripting/mozjs/implscope.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,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 b0338af

Please sign in to comment.