Commit 0f97f074 authored by skylot's avatar skylot

Merge pull request #39 from NeoSpb/warn_switch

core: show warning when failed to detect out node in non trivial switch
parents 02a97bcb 7fe6b842
......@@ -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