Commit 7fe6b842 authored by NeoSpb's avatar NeoSpb

core: show warning when failed to detect out node in non trivial switch

parent 716db8b9
......@@ -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)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment