Remove usages of no-op CompilerOptions.setFlowSensitiveInlineVariables
Enable regular variable inlining automatically turns on flow sensitive variable inlining. CompilerOptions.flowSensitiveInlineVariables option does nothing and will be deprecated.
@@ -126,7 +126,6 @@ public enum CompilationLevel {
options.setRenamingPolicy(VariableRenamingPolicy.LOCAL, PropertyRenamingPolicy.OFF);
options.shadowVariables = true;
options.setInlineVariables(Reach.LOCAL_ONLY);
- options.setFlowSensitiveInlineVariables(true);
options.setInlineFunctions(Reach.LOCAL_ONLY);
options.setAssumeClosuresOnlyCaptureReferences(false);
options.setCheckGlobalThisLevel(CheckLevel.OFF);
@@ -189,7 +188,6 @@ public enum CompilationLevel {
options.setInlineFunctions(Reach.ALL);
options.setAssumeClosuresOnlyCaptureReferences(false);
options.setInlineVariables(Reach.ALL);
- options.setFlowSensitiveInlineVariables(true);
options.setComputeFunctionSideEffects(true);
options.setAssumeStrictThis(true);
