projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Move types back to the 2.5 API.
[oota-llvm.git]
/
lib
/
VMCore
/
Function.cpp
diff --git
a/lib/VMCore/Function.cpp
b/lib/VMCore/Function.cpp
index cdf2dd07fa6840a1446b0b3b0773ce2fff031dc3..9fc300043dea4016e8db08056a3a3086f06a2157 100644
(file)
--- a/
lib/VMCore/Function.cpp
+++ b/
lib/VMCore/Function.cpp
@@
-346,7
+346,7
@@
const FunctionType *Intrinsic::getType(LLVMContext &Context,
#include "llvm/Intrinsics.gen"
#undef GET_INTRINSIC_GENERATOR
- return
Context.getFunctionType
(ResultTy, ArgTys, IsVarArg);
+ return
FunctionType::get
(ResultTy, ArgTys, IsVarArg);
}
bool Intrinsic::isOverloaded(ID id) {