projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
land David Blaikie's patch to de-constify Type, with a few tweaks.
[oota-llvm.git]
/
lib
/
VMCore
/
IRBuilder.cpp
diff --git
a/lib/VMCore/IRBuilder.cpp
b/lib/VMCore/IRBuilder.cpp
index ffe961fee7c2ec047748b0f5757eaa4d1c6efd1a..5114e2d498c54eafdcc68b15c6365875db506155 100644
(file)
--- a/
lib/VMCore/IRBuilder.cpp
+++ b/
lib/VMCore/IRBuilder.cpp
@@
-40,7
+40,7
@@
Type *IRBuilderBase::getCurrentFunctionReturnType() const {
}
Value *IRBuilderBase::getCastedInt8PtrValue(Value *Ptr) {
-
const
PointerType *PT = cast<PointerType>(Ptr->getType());
+ PointerType *PT = cast<PointerType>(Ptr->getType());
if (PT->getElementType()->isIntegerTy(8))
return Ptr;