def toBB(self, Labellist, cBB): if not cBB: cBB = BB() if cBB.instrs(): newBB = BB() newBB.add_instruction(self) cBB.add_link(newBB) return newBB cBB.add_instruction(self) return cBB
def toBB(self, Labellist, cBB): if not cBB: cBB = BB() if not self.is_leader() or not cBB.instrs(): cBB.add_instruction(self) return cBB newBB = BB() newBB.add_instruction(self) cBB.add_link(newBB) return newBB
def toBB(self, Labellist, cBB): if not cBB: cBB = BB() if not self.is_leader() or not cBB.instrs(): cBB.add_instruction(self) return cBB newBB = BB(); newBB.add_instruction(self) cBB.add_link(newBB) return newBB