Merge pull request #39 from NeoSpb/warn_switch

core: show warning when failed to detect out node in non trivial switch
This commit is contained in:
skylot
2014-12-26 23:43:37 +03:00
@@ -705,6 +705,9 @@ public class RegionMaker {
stack.push(sw);
if (out != null) {
stack.addExit(out);
} else {
LOG.warn("Can't detect out node for switch block: {} in {}",
block.toString(), mth.toString());
}
if (!stack.containsExit(defCase)) {