Change intrinsic getter to take an ArrayRef, now that the underlying function in LLVM does.

llvm-svn: 135155
This commit is contained in:
Benjamin Kramer
2011-07-14 17:45:50 +00:00
parent e6e1933f31
commit 8d375cef55
7 changed files with 105 additions and 113 deletions

View File

@@ -221,7 +221,7 @@ void CodeGenFunction::EmitFunctionInstrumentation(const char *Fn) {
llvm::Constant *F = CGM.CreateRuntimeFunction(FunctionTy, Fn);
llvm::CallInst *CallSite = Builder.CreateCall(
CGM.getIntrinsic(llvm::Intrinsic::returnaddress, 0, 0),
CGM.getIntrinsic(llvm::Intrinsic::returnaddress),
llvm::ConstantInt::get(Int32Ty, 0),
"callsite");