summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGCall.cpp
diff options
context:
space:
mode:
authorJames Y Knight <jyknight@google.com>2019-02-03 21:53:49 +0000
committerJames Y Knight <jyknight@google.com>2019-02-03 21:53:49 +0000
commit8799caee8db383e5edfee03e68a5b94a1ddffe25 (patch)
treeb296de033fed093fb6638f5cae334846943ba790 /clang/lib/CodeGen/CGCall.cpp
parent1002ab3d1cd939fef89b717d9119dd07cea1cc41 (diff)
downloadbcm5719-llvm-8799caee8db383e5edfee03e68a5b94a1ddffe25.tar.gz
bcm5719-llvm-8799caee8db383e5edfee03e68a5b94a1ddffe25.zip
[opaque pointer types] Trivial changes towards CallInst requiring
explicit function types. llvm-svn: 353009
Diffstat (limited to 'clang/lib/CodeGen/CGCall.cpp')
-rw-r--r--clang/lib/CodeGen/CGCall.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGCall.cpp b/clang/lib/CodeGen/CGCall.cpp
index 730dac37dd2..2cb181d6841 100644
--- a/clang/lib/CodeGen/CGCall.cpp
+++ b/clang/lib/CodeGen/CGCall.cpp
@@ -3368,7 +3368,7 @@ void CallArgList::allocateArgumentMemory(CodeGenFunction &CGF) {
void CallArgList::freeArgumentMemory(CodeGenFunction &CGF) const {
if (StackBase) {
// Restore the stack after the call.
- llvm::Value *F = CGF.CGM.getIntrinsic(llvm::Intrinsic::stackrestore);
+ llvm::Function *F = CGF.CGM.getIntrinsic(llvm::Intrinsic::stackrestore);
CGF.Builder.CreateCall(F, StackBase);
}
}
OpenPOWER on IntegriCloud