diff --git a/jode/jode/flow/FlowBlock.java b/jode/jode/flow/FlowBlock.java index bba6c63..2c1ca0a 100644 --- a/jode/jode/flow/FlowBlock.java +++ b/jode/jode/flow/FlowBlock.java @@ -147,6 +147,10 @@ public class FlowBlock { return addr+length; } + public boolean hasNoJumps() { + return successors.size() == 0 && predecessors.size() == 0; + } + /** * This method optimizes the jumps to successor. * @param jumps The list of jumps with that successor.