diff options
author | James Y Knight <jyknight@google.com> | 2019-02-05 19:17:50 +0000 |
---|---|---|
committer | James Y Knight <jyknight@google.com> | 2019-02-05 19:17:50 +0000 |
commit | 76f787424d45183efc0ee0a6e412324819ad5600 (patch) | |
tree | 02e9b0b2778cd85eb3aa890cbc0b72943ef14775 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | b0afc69435659c417ba5e0af5d2c211a06bc9679 (diff) | |
download | bcm5719-llvm-76f787424d45183efc0ee0a6e412324819ad5600.tar.gz bcm5719-llvm-76f787424d45183efc0ee0a6e412324819ad5600.zip |
[opaque pointer types] More trivial changes to pass FunctionType to CallInst.
Change various functions to use FunctionCallee or Function*.
Pass function type through __builtin_dump_struct's dumpRecord helper.
llvm-svn: 353199
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index c1d31b166f8..ff45c288b07 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -1852,14 +1852,14 @@ public: void StartThunk(llvm::Function *Fn, GlobalDecl GD, const CGFunctionInfo &FnInfo, bool IsUnprototyped); - void EmitCallAndReturnForThunk(llvm::Constant *Callee, const ThunkInfo *Thunk, - bool IsUnprototyped); + void EmitCallAndReturnForThunk(llvm::FunctionCallee Callee, + const ThunkInfo *Thunk, bool IsUnprototyped); void FinishThunk(); /// Emit a musttail call for a thunk with a potentially adjusted this pointer. void EmitMustTailThunk(GlobalDecl GD, llvm::Value *AdjustedThisPtr, - llvm::Value *Callee); + llvm::FunctionCallee Callee); /// Generate a thunk for the given method. void generateThunk(llvm::Function *Fn, const CGFunctionInfo &FnInfo, |