From 46785e68b8bfd536a2bc4ead66ee90ef008636d9 Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Mon, 16 Nov 2009 13:15:28 +0000 Subject: [PATCH] BuildIntCast takes an additional parameter, isSigned. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@88910 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/Core.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/VMCore/Core.cpp b/lib/VMCore/Core.cpp index 73fe17a3323..78cd4dcafc6 100644 --- a/lib/VMCore/Core.cpp +++ b/lib/VMCore/Core.cpp @@ -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, -- 2.34.1