[llvm-commits] CVS: llvm/lib/VMCore/Module.cpp
Reid Spencer
reid at x10sys.com
Sun Apr 8 23:12:25 PDT 2007
Changes in directory llvm/lib/VMCore:
Module.cpp updated: 1.77 -> 1.78
---
Log message:
For PR1146: http://llvm.org/PR1146 :
Simplify construction of FunctionType to use default arguments.
---
Diffs of the changes: (+1 -2)
Module.cpp | 3 +--
1 files changed, 1 insertion(+), 2 deletions(-)
Index: llvm/lib/VMCore/Module.cpp
diff -u llvm/lib/VMCore/Module.cpp:1.77 llvm/lib/VMCore/Module.cpp:1.78
--- llvm/lib/VMCore/Module.cpp:1.77 Mon Feb 5 15:19:13 2007
+++ llvm/lib/VMCore/Module.cpp Mon Apr 9 01:12:07 2007
@@ -32,8 +32,7 @@
Function *ilist_traits<Function>::createSentinel() {
FunctionType *FTy =
- FunctionType::get(Type::VoidTy, std::vector<const Type*>(), false,
- std::vector<FunctionType::ParameterAttributes>() );
+ FunctionType::get(Type::VoidTy, std::vector<const Type*>(), false);
Function *Ret = new Function(FTy, GlobalValue::ExternalLinkage);
// This should not be garbage monitored.
LeakDetector::removeGarbageObject(Ret);
More information about the llvm-commits
mailing list