BUG: empty BB in InducedCFG.addExceptionalEdges
Current workaround is to ignore it
This commit is contained in:
parent
64a1eb0a60
commit
2d9486b2a9
|
@ -431,8 +431,10 @@ public class InducedCFG extends AbstractCFG<SSAInstruction, InducedCFG.BasicBloc
|
|||
*/
|
||||
private void addExceptionalEdges(SSAInstruction last) {
|
||||
if (last == null) {
|
||||
throw new IllegalStateException("Missing last SSA-Instruction in basic block (null)."); // XXX: When does this happen?
|
||||
// simply Return?
|
||||
// XXX: Bug here?
|
||||
// throw new IllegalStateException("Missing last SSA-Instruction in basic block (null)."); // XXX: When does this happen?
|
||||
System.err.println("Missing last SSA-Instruction in basic block (null).");
|
||||
return;
|
||||
}
|
||||
if (last.isPEI()) {
|
||||
// we don't currently model catch blocks here ... instead just link
|
||||
|
|
Loading…
Reference in New Issue