diff options
Diffstat (limited to 'contrib/llvm/tools/clang/lib/CodeGen/CGVTables.h')
| -rw-r--r-- | contrib/llvm/tools/clang/lib/CodeGen/CGVTables.h | 10 | 
1 files changed, 4 insertions, 6 deletions
diff --git a/contrib/llvm/tools/clang/lib/CodeGen/CGVTables.h b/contrib/llvm/tools/clang/lib/CodeGen/CGVTables.h index b92212c368a9..a11474a15ea4 100644 --- a/contrib/llvm/tools/clang/lib/CodeGen/CGVTables.h +++ b/contrib/llvm/tools/clang/lib/CodeGen/CGVTables.h @@ -57,12 +57,10 @@ class CodeGenVTables {    /// Cache for the deleted virtual member call function.    llvm::Constant *DeletedVirtualFn = nullptr; -  /// emitThunk - Emit a single thunk. -  void emitThunk(GlobalDecl GD, const ThunkInfo &Thunk, bool ForVTable); - -  /// maybeEmitThunkForVTable - Emit the given thunk for the vtable if needed by -  /// the ABI. -  void maybeEmitThunkForVTable(GlobalDecl GD, const ThunkInfo &Thunk); +  /// Get the address of a thunk and emit it if necessary. +  llvm::Constant *maybeEmitThunk(GlobalDecl GD, +                                 const ThunkInfo &ThunkAdjustments, +                                 bool ForVTable);    void addVTableComponent(ConstantArrayBuilder &builder,                            const VTableLayout &layout, unsigned idx,  | 
