diff options
author | David Blaikie <dblaikie@gmail.com> | 2015-07-14 17:27:39 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2015-07-14 17:27:39 +0000 |
commit | 4ba525b727a416ad688d0237f9f7e6fd697a3c1f (patch) | |
tree | 2bccff6c37f3f37397febf7499208ef07afb9ae9 /clang/lib/CodeGen/CGException.cpp | |
parent | 984a3613b379de4d8a5d26b5d40ccf54f393c2aa (diff) | |
download | bcm5719-llvm-4ba525b727a416ad688d0237f9f7e6fd697a3c1f.tar.gz bcm5719-llvm-4ba525b727a416ad688d0237f9f7e6fd697a3c1f.zip |
Rely on default zero-arg value for IRBuilder::CreateCall calls to zero-arg functions
Patch by servuswiegehtz at yahoo.de
llvm-svn: 242168
Diffstat (limited to 'clang/lib/CodeGen/CGException.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGException.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGException.cpp b/clang/lib/CodeGen/CGException.cpp index 987ffc14a45..7b8368ee2b3 100644 --- a/clang/lib/CodeGen/CGException.cpp +++ b/clang/lib/CodeGen/CGException.cpp @@ -1311,7 +1311,7 @@ struct PerformSEHFinally : EHScopeStack::Cleanup { // Compute the two argument values. QualType ArgTys[2] = {Context.UnsignedCharTy, Context.VoidPtrTy}; llvm::Value *LocalAddrFn = CGM.getIntrinsic(llvm::Intrinsic::localaddress); - llvm::Value *FP = CGF.Builder.CreateCall(LocalAddrFn, {}); + llvm::Value *FP = CGF.Builder.CreateCall(LocalAddrFn); llvm::Value *IsForEH = llvm::ConstantInt::get(CGF.ConvertType(ArgTys[0]), F.isForEHCleanup()); Args.add(RValue::get(IsForEH), ArgTys[0]); |