Explorar o código

[as3] do not run local DCE for now

Simon Krajewski %!s(int64=10) %!d(string=hai) anos
pai
achega
1cc8b3599e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      analyzer.ml

+ 1 - 1
analyzer.ml

@@ -1354,7 +1354,7 @@ module Config = struct
 			const_propagation = not (Common.raw_defined com "analyzer-no-const-propagation");
 			const_propagation = not (Common.raw_defined com "analyzer-no-const-propagation");
 			check_has_effect = (Common.raw_defined com "analyzer-check-has-effect");
 			check_has_effect = (Common.raw_defined com "analyzer-check-has-effect");
 			check = not (Common.raw_defined com "analyzer-no-check");
 			check = not (Common.raw_defined com "analyzer-no-check");
-			local_dce = not (Common.raw_defined com "analyzer-no-local-dce");
+			local_dce = not (Common.raw_defined com "analyzer-no-local-dce") && not (Common.defined com Define.As3);
 			ssa_unapply = not (Common.raw_defined com "analyzer-no-ssa-unapply");
 			ssa_unapply = not (Common.raw_defined com "analyzer-no-ssa-unapply");
 			simplifier_unapply = not (Common.raw_defined com "analyzer-no-simplify-unapply");
 			simplifier_unapply = not (Common.raw_defined com "analyzer-no-simplify-unapply");
 		}
 		}