From 8d9240df36bad759602ab4eda2be03a614fce2c0 Mon Sep 17 00:00:00 2001 From: Alexey Andreev Date: Tue, 25 Apr 2017 22:57:35 +0300 Subject: [PATCH] When eliminating constant conditions, and removing dead branch, also remove corresponding phi input to avoid clashes with further optimizations --- .idea/runConfigurations/run_html4j_tests.xml | 2 +- .../ConstantConditionElimination.java | 22 +++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/.idea/runConfigurations/run_html4j_tests.xml b/.idea/runConfigurations/run_html4j_tests.xml index 3a28f236d..aaabce13e 100644 --- a/.idea/runConfigurations/run_html4j_tests.xml +++ b/.idea/runConfigurations/run_html4j_tests.xml @@ -13,7 +13,7 @@