diff --git a/core/src/main/java/org/teavm/vm/TeaVM.java b/core/src/main/java/org/teavm/vm/TeaVM.java index 007b8fa56..32c0fd083 100644 --- a/core/src/main/java/org/teavm/vm/TeaVM.java +++ b/core/src/main/java/org/teavm/vm/TeaVM.java @@ -57,7 +57,6 @@ import org.teavm.model.optimization.Devirtualization; import org.teavm.model.optimization.GlobalValueNumbering; import org.teavm.model.optimization.Inlining; import org.teavm.model.optimization.LoopInvariantMotion; -import org.teavm.model.optimization.LoopInversion; import org.teavm.model.optimization.MethodOptimization; import org.teavm.model.optimization.MethodOptimizationContext; import org.teavm.model.optimization.RedundantJumpElimination; @@ -539,7 +538,7 @@ public class TeaVM implements TeaVMHost, ServiceRepository { optimizations.add(new RedundantJumpElimination()); optimizations.add(new ArrayUnwrapMotion()); if (optimizationLevel.ordinal() >= TeaVMOptimizationLevel.ADVANCED.ordinal()) { - optimizations.add(new LoopInversion()); + //optimizations.add(new LoopInversion()); optimizations.add(new LoopInvariantMotion()); } optimizations.add(new GlobalValueNumbering(optimizationLevel == TeaVMOptimizationLevel.SIMPLE));