From 43f9bb7371777e7812a6352e372752bc9f20c0a5 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Mon, 18 May 2015 22:14:03 +0000 Subject: API update for streamlining of IRBuilder::CreateCall to just use ArrayRef/initializer_list+braced init llvm-svn: 237625 --- clang/lib/CodeGen/CGException.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'clang/lib/CodeGen/CGException.cpp') diff --git a/clang/lib/CodeGen/CGException.cpp b/clang/lib/CodeGen/CGException.cpp index a518443889d..d9a3f0b252a 100644 --- a/clang/lib/CodeGen/CGException.cpp +++ b/clang/lib/CodeGen/CGException.cpp @@ -1413,9 +1413,9 @@ void CodeGenFunction::EmitCapturedLocals(CodeGenFunction &ParentCGF, InsertPair.first->second = ParentCGF.EscapedLocals.size() - 1; int FrameEscapeIdx = InsertPair.first->second; // call i8* @llvm.framerecover(i8* bitcast(@parentFn), i8* %fp, i32 N) - RecoverCall = - Builder.CreateCall3(FrameRecoverFn, ParentI8Fn, ParentFP, - llvm::ConstantInt::get(Int32Ty, FrameEscapeIdx)); + RecoverCall = Builder.CreateCall( + FrameRecoverFn, {ParentI8Fn, ParentFP, + llvm::ConstantInt::get(Int32Ty, FrameEscapeIdx)}); } else { // If the parent didn't have an alloca, we're doing some nested outlining. -- cgit v1.2.3