Explorar o código

don't run local dce for deep matching js output test

Dan Korostelev %!s(int64=10) %!d(string=hai) anos
pai
achega
feaef99d0f
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      tests/optimization/src/TestJs.hx

+ 1 - 2
tests/optimization/src/TestJs.hx

@@ -44,8 +44,7 @@ class TestJs {
 	}
 
 	@:js("var a = { v : [{ b : 1}]};a;var tmp;switch(a.v.length) {case 1:switch(a.v[0].b) {case 1:tmp = true;break;default:tmp = false;}break;default:tmp = false;}if(tmp) {}")
-	@:analyzer(no_const_propagation)
-	@:analyzer(no_check_has_effect)
+	@:analyzer(no_const_propagation, no_local_dce, no_check_has_effect)
 	static function testDeepMatchingWithoutClosures() {
 		var a = {v: [{b: 1}]};
 		a;