exposed LLVMInstructionEraseFromParent

This commit is contained in:
Alberto Valverde 2012-12-14 23:54:49 +01:00
commit 5c5f3015f7
2 changed files with 4 additions and 0 deletions

View file

@ -1654,6 +1654,8 @@ class Instruction(User):
def opcode_name(self):
return _core.LLVMInstGetOpcodeName(self.ptr)
def erase_from_parent(self):
return _core.LLVMInstructionEraseFromParent(self.ptr)
class CallOrInvokeInstruction(Instruction):