aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/IPO/SimplifyLibCalls.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Transforms/IPO/SimplifyLibCalls.cpp')
-rw-r--r--lib/Transforms/IPO/SimplifyLibCalls.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/IPO/SimplifyLibCalls.cpp b/lib/Transforms/IPO/SimplifyLibCalls.cpp
index a776d38dc5..656cbfc6bd 100644
--- a/lib/Transforms/IPO/SimplifyLibCalls.cpp
+++ b/lib/Transforms/IPO/SimplifyLibCalls.cpp
@@ -535,7 +535,7 @@ public:
{
// Just make sure this has 4 arguments per LLVM spec.
return (f->arg_size() == 4) &&
- (f->getReturnType() == PointerType::get(Type::VoidTy));
+ (f->getReturnType() == Type::VoidTy);
}
/// Because of alignment and instruction information that we don't have, we