[llvm-commits] CVS: llvm/lib/VMCore/Function.cpp
Reid Spencer
reid at x10sys.com
Sun Apr 8 23:11:40 PDT 2007
Changes in directory llvm/lib/VMCore:
Function.cpp updated: 1.115 -> 1.116
---
Log message:
For PR1146: http://llvm.org/PR1146 :
Parameter attributes can now be defaulted for intrinsics.
---
Diffs of the changes: (+2 -2)
Function.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/lib/VMCore/Function.cpp
diff -u llvm/lib/VMCore/Function.cpp:1.115 llvm/lib/VMCore/Function.cpp:1.116
--- llvm/lib/VMCore/Function.cpp:1.115 Sun Apr 1 02:25:33 2007
+++ llvm/lib/VMCore/Function.cpp Mon Apr 9 01:11:23 2007
@@ -13,6 +13,7 @@
#include "llvm/Module.h"
#include "llvm/DerivedTypes.h"
+#include "llvm/ParameterAttributes.h"
#include "llvm/IntrinsicInst.h"
#include "llvm/Support/LeakDetector.h"
#include "SymbolTableListTraitsImpl.h"
@@ -197,14 +198,13 @@
uint32_t numTys) {
const Type *ResultTy = NULL;
std::vector<const Type*> ArgTys;
- std::vector<FunctionType::ParameterAttributes> Attrs;
bool IsVarArg = false;
#define GET_INTRINSIC_GENERATOR
#include "llvm/Intrinsics.gen"
#undef GET_INTRINSIC_GENERATOR
- return FunctionType::get(ResultTy, ArgTys, IsVarArg, Attrs);
+ return FunctionType::get(ResultTy, ArgTys, IsVarArg);
}
Function *Intrinsic::getDeclaration(Module *M, ID id, const Type **Tys,
More information about the llvm-commits
mailing list