BuildIntCast takes an additional parameter, isSigned.

llvm-svn: 88910
This commit is contained in:
Duncan Sands 2009-11-16 13:15:28 +00:00
parent 7876dad8e7
commit 9649e6085d
1 changed files with 3 additions and 2 deletions

View File

@ -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,