Skip to content

Commit

Permalink
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/src/main/java/org/jruby/ir/IRScope.java
Original file line number Diff line number Diff line change
@@ -441,6 +441,10 @@ public boolean canReceiveNonlocalReturns() {
}

public CFG buildCFG() {
if (getCFG() != null) {
return getCFG();
}

CFG newCFG = new CFG(this);
newCFG.build(getInstrs());
// Clear out instruction list after CFG has been built.

0 comments on commit f3c4b71

Please sign in to comment.