diff options
author | Anders Carlsson <andersca@mac.com> | 2011-01-29 18:25:07 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2011-01-29 18:25:07 +0000 |
commit | 93be9a90ccb544d8bb05ddfb5a377d24ff88ba8e (patch) | |
tree | d63759e1496a51857e908048d1f256d3cc403511 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | da80af3681feb019e8362f1e21012156dccdd874 (diff) | |
download | bcm5719-llvm-93be9a90ccb544d8bb05ddfb5a377d24ff88ba8e.tar.gz bcm5719-llvm-93be9a90ccb544d8bb05ddfb5a377d24ff88ba8e.zip |
Use CGM.CreateOrReplaceCXXRuntimeVariable in CGVTables.cpp
llvm-svn: 124538
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index c261ccae2ef..3162559e47e 100644 --- a/clang/lib/CodeGen/CodeGenModule.cpp +++ b/clang/lib/CodeGen/CodeGenModule.cpp @@ -1000,7 +1000,7 @@ CodeGenModule::CreateOrReplaceCXXRuntimeVariable(llvm::StringRef Name, // Because C++ name mangling, the only way we can end up with an already // existing global with the same name is if it has been declared extern "C". - assert(GV->isDeclaration() && "Declaration has wrong type!"); + assert(GV->isDeclaration() && "Declaration has wrong type!"); OldGV = GV; } |