aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-12-03 03:47:56 +0000
committerMike Stump <mrs@apple.com>2009-12-03 03:47:56 +0000
commit919d5e51fd0a1b6e52028c8aa42edf44ee036954 (patch)
treef4446078b667631ffe772c4b9499b5e478403164 /lib/CodeGen/CodeGenFunction.h
parentf668bd0e059774e44fd3571d998a5ca74cceb97f (diff)
Add support for thunking dtors. Oh why does this make my head hurt?
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90409 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r--lib/CodeGen/CodeGenFunction.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h
index a7d28e544e..43c968bb13 100644
--- a/lib/CodeGen/CodeGenFunction.h
+++ b/lib/CodeGen/CodeGenFunction.h
@@ -452,11 +452,11 @@ public:
const ThunkAdjustment &Adjustment);
/// GenerateThunk - Generate a thunk for the given method
- llvm::Constant *GenerateThunk(llvm::Function *Fn, const CXXMethodDecl *MD,
+ llvm::Constant *GenerateThunk(llvm::Function *Fn, const GlobalDecl &GD,
bool Extern,
const ThunkAdjustment &ThisAdjustment);
llvm::Constant *
- GenerateCovariantThunk(llvm::Function *Fn, const CXXMethodDecl *MD,
+ GenerateCovariantThunk(llvm::Function *Fn, const GlobalDecl &GD,
bool Extern,
const CovariantThunkAdjustment &Adjustment);