private BasicBlock createBB(Label label, Stack<ExceptionRegion> nestedExceptionRegions) { BasicBlock basicBlock = new BasicBlock(this, label); addBasicBlock(basicBlock); if (!nestedExceptionRegions.empty()) nestedExceptionRegions.peek().addBB(basicBlock); return basicBlock; }
private BasicBlock createBB(Label label, Stack<ExceptionRegion> nestedExceptionRegions) { BasicBlock basicBlock = new BasicBlock(this, label); addBasicBlock(basicBlock); if (!nestedExceptionRegions.empty()) nestedExceptionRegions.peek().addBB(basicBlock); return basicBlock; }
private BasicBlock createBB(Label label, Stack<ExceptionRegion> nestedExceptionRegions) { BasicBlock basicBlock = new BasicBlock(this, label); addBasicBlock(basicBlock); if (label.isGlobalEnsureBlockLabel()) { globalEnsureBB = basicBlock; } if (!nestedExceptionRegions.empty()) nestedExceptionRegions.peek().addBB(basicBlock); return basicBlock; }
private BasicBlock createBB(Label label, Stack<ExceptionRegion> nestedExceptionRegions) { BasicBlock basicBlock = new BasicBlock(this, label); addBasicBlock(basicBlock); if (label.isGlobalEnsureBlockLabel()) { globalEnsureBB = basicBlock; } if (!nestedExceptionRegions.empty()) nestedExceptionRegions.peek().addBB(basicBlock); return basicBlock; }
rr.addBB(currBB); allExceptionRegions.add(rr);
rr.addBB(currBB); allExceptionRegions.add(rr);
public ExceptionRegion cloneForInlining(InlinerInfo ii) { ExceptionRegion newR = new ExceptionRegion(ii.getRenamedLabel(firstRescueBlockLabel), ensureBlockLabel == null ? null : ii.getRenamedLabel(ensureBlockLabel), ii.getRenamedBB(this.startBB)); newR.endBB = ii.getRenamedBB(endBB); newR.firstRescueBB = ii.getRenamedBB(firstRescueBB); for (BasicBlock b: exclusiveBBs) { newR.addBB(ii.getRenamedBB(b)); } for (ExceptionRegion r: nestedRegions) { newR.addNestedRegion(r.cloneForInlining(ii)); } return newR; }
public ExceptionRegion cloneForInlining(InlinerInfo ii) { ExceptionRegion newR = new ExceptionRegion(ii.getRenamedLabel(firstRescueBlockLabel), ensureBlockLabel == null ? null : ii.getRenamedLabel(ensureBlockLabel), ii.getRenamedBB(this.startBB)); newR.endBB = ii.getRenamedBB(endBB); newR.firstRescueBB = ii.getRenamedBB(firstRescueBB); for (BasicBlock b: exclusiveBBs) { newR.addBB(ii.getRenamedBB(b)); } for (ExceptionRegion r: nestedRegions) { newR.addNestedRegion(r.cloneForInlining(ii)); } return newR; }
rr.addBB(currBB); allExceptionRegions.add(rr);
rr.addBB(currBB); allExceptionRegions.add(rr);