}
private void addBasicBlocks() {
BasicBlock current = null;
for(int i=0;i<parent.getStatements().size();++i) {
Statement stmt = parent.getStatements().get(i);
if(current == null || parent.isLabeled(i)) {
current = addNewBasicBlock(parent, i);
} else {
current.addStatement(stmt);