Adds the given basic block in the function

def add_basic_block(self, basic_block):
        """Adds the given basic block in the function"""
        assert(isinstance(basic_block, BasicBlock))
        self.basic_block_list.append(basic_block)