diff options
| author | David Blaikie <dblaikie@gmail.com> | 2015-05-18 22:14:03 +0000 |
|---|---|---|
| committer | David Blaikie <dblaikie@gmail.com> | 2015-05-18 22:14:03 +0000 |
| commit | 43f9bb7371777e7812a6352e372752bc9f20c0a5 (patch) | |
| tree | dd61c38e41839081b8b47066734ff1194ac5b574 /clang/lib/CodeGen/CGCall.cpp | |
| parent | ff6409d096fc554259eb4a91a493d1638cc53474 (diff) | |
| download | bcm5719-llvm-43f9bb7371777e7812a6352e372752bc9f20c0a5.tar.gz bcm5719-llvm-43f9bb7371777e7812a6352e372752bc9f20c0a5.zip | |
API update for streamlining of IRBuilder::CreateCall to just use ArrayRef/initializer_list+braced init
llvm-svn: 237625
Diffstat (limited to 'clang/lib/CodeGen/CGCall.cpp')
| -rw-r--r-- | clang/lib/CodeGen/CGCall.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGCall.cpp b/clang/lib/CodeGen/CGCall.cpp index 2922a215ade..b73ad9e4fb5 100644 --- a/clang/lib/CodeGen/CGCall.cpp +++ b/clang/lib/CodeGen/CGCall.cpp @@ -2692,7 +2692,7 @@ void CallArgList::allocateArgumentMemory(CodeGenFunction &CGF) { // Save the stack. llvm::Function *F = CGF.CGM.getIntrinsic(llvm::Intrinsic::stacksave); - StackBase = CGF.Builder.CreateCall(F, "inalloca.save"); + StackBase = CGF.Builder.CreateCall(F, {}, "inalloca.save"); // Control gets really tied up in landing pads, so we have to spill the // stacksave to an alloca to avoid violating SSA form. |

