diff options
author | James Y Knight <jyknight@google.com> | 2019-02-03 21:53:49 +0000 |
---|---|---|
committer | James Y Knight <jyknight@google.com> | 2019-02-03 21:53:49 +0000 |
commit | 8799caee8db383e5edfee03e68a5b94a1ddffe25 (patch) | |
tree | b296de033fed093fb6638f5cae334846943ba790 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 1002ab3d1cd939fef89b717d9119dd07cea1cc41 (diff) | |
download | bcm5719-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/CodeGenFunction.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp index 4f05d47be9a..5b2d043a0a4 100644 --- a/clang/lib/CodeGen/CodeGenFunction.cpp +++ b/clang/lib/CodeGen/CodeGenFunction.cpp @@ -2249,7 +2249,7 @@ void CodeGenFunction::EmitAlignmentAssumption(llvm::Value *PtrValue, OffsetValue); } -llvm::Value *CodeGenFunction::EmitAnnotationCall(llvm::Value *AnnotationFn, +llvm::Value *CodeGenFunction::EmitAnnotationCall(llvm::Function *AnnotationFn, llvm::Value *AnnotatedVal, StringRef AnnotationStr, SourceLocation Location) { @@ -2277,7 +2277,7 @@ Address CodeGenFunction::EmitFieldAnnotations(const FieldDecl *D, assert(D->hasAttr<AnnotateAttr>() && "no annotate attribute"); llvm::Value *V = Addr.getPointer(); llvm::Type *VTy = V->getType(); - llvm::Value *F = CGM.getIntrinsic(llvm::Intrinsic::ptr_annotation, + llvm::Function *F = CGM.getIntrinsic(llvm::Intrinsic::ptr_annotation, CGM.Int8PtrTy); for (const auto *I : D->specific_attrs<AnnotateAttr>()) { |