From: Reid Spencer Date: Mon, 9 Apr 2007 06:12:07 +0000 (+0000) Subject: For PR1146: X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=8129a3921e970a546c8108290dcfa10e050e71f0;p=oota-llvm.git For PR1146: Simplify construction of FunctionType to use default arguments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35810 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/VMCore/Module.cpp b/lib/VMCore/Module.cpp index 8aab595bd2b..016ab16ff52 100644 --- a/lib/VMCore/Module.cpp +++ b/lib/VMCore/Module.cpp @@ -32,8 +32,7 @@ using namespace llvm; Function *ilist_traits::createSentinel() { FunctionType *FTy = - FunctionType::get(Type::VoidTy, std::vector(), false, - std::vector() ); + FunctionType::get(Type::VoidTy, std::vector(), false); Function *Ret = new Function(FTy, GlobalValue::ExternalLinkage); // This should not be garbage monitored. LeakDetector::removeGarbageObject(Ret);