Add CodeGenFunction::GenerateThunk and implement it.
llvm-svn: 99365
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index 74cb974..8b01623 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/lib/CodeGen/CodeGenFunction.h
@@ -510,7 +510,9 @@
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);