projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f63c410
)
BuildIntCast takes an additional parameter, isSigned.
author
Duncan Sands
<baldrick@free.fr>
Mon, 16 Nov 2009 13:15:28 +0000
(13:15 +0000)
committer
Duncan Sands
<baldrick@free.fr>
Mon, 16 Nov 2009 13:15:28 +0000
(13:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@88910
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/Core.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/Core.cpp
b/lib/VMCore/Core.cpp
index 73fe17a3323e56385806049e6aa7cbd2683b3b07..78cd4dcafc6ad9f6c477e47d1b2e314ecceec3c2 100644
(file)
--- 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,