forked from OSchip/llvm-project
BuildIntCast takes an additional parameter, isSigned.
llvm-svn: 88910
This commit is contained in:
parent
7876dad8e7
commit
9649e6085d
|
@ -1860,8 +1860,9 @@ LLVMValueRef LLVMBuildPointerCast(LLVMBuilderRef B, LLVMValueRef Val,
|
|||
}
|
||||
|
||||
LLVMValueRef LLVMBuildIntCast(LLVMBuilderRef B, LLVMValueRef Val,
|
||||
LLVMTypeRef DestTy, const char *Name) {
|
||||
return wrap(unwrap(B)->CreateIntCast(unwrap(Val), unwrap(DestTy), Name));
|
||||
LLVMTypeRef DestTy, int isSigned,
|
||||
const char *Name) {
|
||||
return wrap(unwrap(B)->CreateIntCast(unwrap(Val), unwrap(DestTy), isSigned, Name));
|
||||
}
|
||||
|
||||
LLVMValueRef LLVMBuildFPCast(LLVMBuilderRef B, LLVMValueRef Val,
|
||||
|
|
Loading…
Reference in New Issue