Add methods to set volatile inst.

This commit is contained in:
Siu Kwan Lam 2012-08-02 16:51:42 -07:00
commit 9d068fd582
3 changed files with 70 additions and 4 deletions

View file

@ -596,6 +596,7 @@ _wrap_obj2obj(LLVMInstIsArithmeticShift, LLVMValueRef, int)
_wrap_obj2obj(LLVMInstIsAssociative, LLVMValueRef, int)
_wrap_obj2obj(LLVMInstIsCommutative, LLVMValueRef, int)
_wrap_obj2obj(LLVMInstIsVolatile, LLVMValueRef, int)
_wrap_objint2none(LLVMSetVolatile, LLVMValueRef)
_wrap_obj2obj(LLVMInstGetOpcode, LLVMValueRef, int)
_wrap_obj2str(LLVMInstGetOpcodeName, LLVMValueRef)
@ -1554,6 +1555,7 @@ static PyMethodDef core_methods[] = {
_method( LLVMInstIsAssociative )
_method( LLVMInstIsCommutative )
_method( LLVMInstIsVolatile )
_method( LLVMSetVolatile )
_method( LLVMInstGetOpcode )
_method( LLVMInstGetOpcodeName )