summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis
diff options
context:
space:
mode:
authorVictor Hernandez <vhernandez@apple.com>2009-09-22 18:50:03 +0000
committerVictor Hernandez <vhernandez@apple.com>2009-09-22 18:50:03 +0000
commitddc2ce4fe29f901e2c82be2a8f33840315b558c0 (patch)
tree0b67f312bc1344cbcae824a778cd0f75ee6b1034 /llvm/lib/Analysis
parent96cff1fc109aba5c44410ed2fdc6f10fe8af4fbb (diff)
downloadbcm5719-llvm-ddc2ce4fe29f901e2c82be2a8f33840315b558c0.tar.gz
bcm5719-llvm-ddc2ce4fe29f901e2c82be2a8f33840315b558c0.zip
No need to verify that malloc's return type is i8*.
llvm-svn: 82561
Diffstat (limited to 'llvm/lib/Analysis')
-rw-r--r--llvm/lib/Analysis/MallocHelper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/MallocHelper.cpp b/llvm/lib/Analysis/MallocHelper.cpp
index 9c1671d3064..ab6239e55ad 100644
--- a/llvm/lib/Analysis/MallocHelper.cpp
+++ b/llvm/lib/Analysis/MallocHelper.cpp
@@ -155,7 +155,7 @@ const PointerType* llvm::getMallocType(const CallInst* CI) {
if (BCI && CI->hasOneUse())
return cast<PointerType>(BCI->getDestTy());
- // Malloc call was not bitcast, so the type is the malloc's return type, i8*.
+ // Malloc call was not bitcast, so type is the malloc function's return type.
if (!BCI)
return cast<PointerType>(CI->getType());
OpenPOWER on IntegriCloud