diff options
author | Anders Carlsson <andersca@mac.com> | 2010-03-24 05:32:05 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2010-03-24 05:32:05 +0000 |
commit | 67fbf9853f20cfcd958c2379c57afca52306b455 (patch) | |
tree | 2db7412ae450c16615f01b83f6b554942c6a1ee0 /clang/lib/CodeGen/CGVtable.h | |
parent | 91e18c93c4b25789f859de303743dd1d9e415cb5 (diff) | |
download | bcm5719-llvm-67fbf9853f20cfcd958c2379c57afca52306b455.tar.gz bcm5719-llvm-67fbf9853f20cfcd958c2379c57afca52306b455.zip |
Use getNamedGlobal instead of getGlobalVariable. (Fixes self-host).
llvm-svn: 99385
Diffstat (limited to 'clang/lib/CodeGen/CGVtable.h')
-rw-r--r-- | clang/lib/CodeGen/CGVtable.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGVtable.h b/clang/lib/CodeGen/CGVtable.h index a38153bc4b8..4a924431af7 100644 --- a/clang/lib/CodeGen/CGVtable.h +++ b/clang/lib/CodeGen/CGVtable.h @@ -316,8 +316,8 @@ public: int64_t getVirtualBaseOffsetOffset(const CXXRecordDecl *RD, const CXXRecordDecl *VBase); - /// getAddrOfVTable - Get the address of the vtable for the given record decl. - llvm::Constant *getAddrOfVTable(const CXXRecordDecl *RD); + /// GetAddrOfVTable - Get the address of the vtable for the given record decl. + llvm::Constant *GetAddrOfVTable(const CXXRecordDecl *RD); /// CtorVtableInfo - Information about a constructor vtable. struct CtorVtableInfo { |