Explorar o código

still no DCE at all for AS3

Nicolas Cannasse %!s(int64=13) %!d(string=hai) anos
pai
achega
e7636431af
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      main.ml

+ 1 - 1
main.ml

@@ -1044,7 +1044,7 @@ try
 		Codegen.post_process_end();
 		List.iter (fun f -> f()) (List.rev com.filters);
 		List.iter (Codegen.save_class_state tctx) com.types;
-		Dce.run com main (!full_dce && not !interp);
+		if not !gen_as3 then Dce.run com main (!full_dce && not !interp);
 		let type_filters = [
 			Codegen.check_private_path;
 			Codegen.remove_generic_base;