aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2010-03-24 00:39:18 +0000
committerAnders Carlsson <andersca@mac.com>2010-03-24 00:39:18 +0000
commit519c32880b99396034ecaedc0cd86db2e8485003 (patch)
tree64b72151fd3b999de66220620e019f6c1f3e623d /lib/CodeGen/CodeGenFunction.h
parent13d6898f89ad1b044d650d01d81176089a5ab363 (diff)
Add CodeGenFunction::GenerateThunk and implement it.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99365 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r--lib/CodeGen/CodeGenFunction.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h
index 74cb974248..8b01623f30 100644
--- a/lib/CodeGen/CodeGenFunction.h
+++ b/lib/CodeGen/CodeGenFunction.h
@@ -510,7 +510,9 @@ public:
llvm::Value *DynamicTypeAdjust(llvm::Value *V,
const ThunkAdjustment &Adjustment);
- /// GenerateThunk - Generate a thunk for the given method
+ /// GenerateThunk - Generate a thunk for the given method.
+ void GenerateThunk(llvm::Function *Fn, GlobalDecl GD, const ThunkInfo &Thunk);
+
llvm::Constant *GenerateThunk(llvm::Function *Fn, GlobalDecl GD,
bool Extern,
const ThunkAdjustment &ThisAdjustment);