Skip to content

Commit

Permalink
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/src/main/java/org/jruby/ir/representations/CFG.java
Original file line number Diff line number Diff line change
@@ -475,6 +475,9 @@ private boolean mergeBBs(BasicBlock a, BasicBlock b) {
}

public void removeBB(BasicBlock b) {
if (b.getLabel().isGlobalEnsureBlockLabel()) {
globalEnsureBB = null;
}
graph.removeVertexFor(b);
bbMap.remove(b.getLabel());
rescuerMap.remove(b);

0 comments on commit ba92f09

Please sign in to comment.