зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1559275 - Remove unused CompileOptions::isProbablySystemCode. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D34977 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
a68d5a818e
Коммит
d2cb6059f3
|
@ -114,7 +114,6 @@ class JS_PUBLIC_API TransitiveCompileOptions {
|
|||
bool forceAsync = false;
|
||||
bool sourceIsLazy = false;
|
||||
bool allowHTMLComments = true;
|
||||
bool isProbablySystemCode = false;
|
||||
bool hideScriptFromDebugger = false;
|
||||
bool bigIntEnabledOption = false;
|
||||
bool fieldsEnabledOption = false;
|
||||
|
|
|
@ -3473,7 +3473,6 @@ void JS::TransitiveCompileOptions::copyPODTransitiveOptions(
|
|||
introductionLineno = rhs.introductionLineno;
|
||||
introductionOffset = rhs.introductionOffset;
|
||||
hasIntroductionInfo = rhs.hasIntroductionInfo;
|
||||
isProbablySystemCode = rhs.isProbablySystemCode;
|
||||
hideScriptFromDebugger = rhs.hideScriptFromDebugger;
|
||||
bigIntEnabledOption = rhs.bigIntEnabledOption;
|
||||
fieldsEnabledOption = rhs.fieldsEnabledOption;
|
||||
|
@ -3561,7 +3560,6 @@ JS::CompileOptions::CompileOptions(JSContext* cx)
|
|||
scriptOrModuleRoot(cx) {
|
||||
strictOption = cx->options().strictMode();
|
||||
extraWarningsOption = cx->realm()->behaviors().extraWarnings(cx);
|
||||
isProbablySystemCode = cx->realm()->isProbablySystemCode();
|
||||
werrorOption = cx->options().werror();
|
||||
if (!cx->options().asmJS()) {
|
||||
asmJSOption = AsmJSOption::Disabled;
|
||||
|
|
Загрузка…
Ссылка в новой задаче