Skip to content

Commit

Permalink
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions core/src/main/java/org/jruby/ir/representations/CFG.java
Original file line number Diff line number Diff line change
@@ -318,13 +318,6 @@ public DirectedGraph<BasicBlock> build(List<Instr> instrs) {
} else if (iop != Operation.LABEL) {
currBB.addInstr(i);
}

if (i instanceof CallBase) { // Build CFG for the closure if there exists one
Operand closureArg = ((CallBase) i).getClosureArg(getScope().getManager().getNil());
if (closureArg instanceof WrappedIRClosure) {
((WrappedIRClosure) closureArg).getClosure().buildCFG();
}
}
}

// Process all rescued regions

0 comments on commit 65aec3e

Please sign in to comment.