aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/MallocHelper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Analysis/MallocHelper.cpp')
-rw-r--r--lib/Analysis/MallocHelper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/MallocHelper.cpp b/lib/Analysis/MallocHelper.cpp
index 9c1671d306..ab6239e55a 100644
--- a/lib/Analysis/MallocHelper.cpp
+++ b/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());