diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2011-02-03 06:30:58 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2011-02-03 06:30:58 +0000 |
commit | 01de7a44cea9f77cbcda65faad8edc8b48a3b617 (patch) | |
tree | e2c42d9af61c356882440b5fb64907aedc769ef5 /lib/CodeGen/CodeGenModule.h | |
parent | 7a17889829b3f3655c47e2b01e282832fdb466d6 (diff) |
Revert 124768.
This reopens PR99114, but that one at least can be avoided with an #include.
PR9130 cannot.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124780 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
-rw-r--r-- | lib/CodeGen/CodeGenModule.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h index 00f88f6f5a..7652b88fdc 100644 --- a/lib/CodeGen/CodeGenModule.h +++ b/lib/CodeGen/CodeGenModule.h @@ -317,8 +317,7 @@ public: /// non-null, then this function will use the specified type if it has to /// create it. llvm::Constant *GetAddrOfFunction(GlobalDecl GD, - const llvm::Type *Ty = 0, - bool ForVTable = false); + const llvm::Type *Ty = 0); /// GetAddrOfRTTIDescriptor - Get the address of the RTTI descriptor /// for the given type. @@ -542,8 +541,7 @@ private: llvm::Constant *GetOrCreateLLVMFunction(llvm::StringRef MangledName, const llvm::Type *Ty, - GlobalDecl D, - bool ForVTable); + GlobalDecl D); llvm::Constant *GetOrCreateLLVMGlobal(llvm::StringRef MangledName, const llvm::PointerType *PTy, const VarDecl *D, |