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 | 96eaf2992b5955d1470fc9cce7a96e7e1e3b4ea7 (patch) | |
tree | c24f4ee8894fee79acb1c26d66f12f7dff4c6586 /lib/CodeGen/CodeGenModule.cpp | |
parent | 3bd6202ea2d5b5f7c8229cd280a846ae3dcf2355 (diff) |
Use CGM.CreateOrReplaceCXXRuntimeVariable in CGVTables.cpp
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124538 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.cpp')
-rw-r--r-- | lib/CodeGen/CodeGenModule.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenModule.cpp b/lib/CodeGen/CodeGenModule.cpp index c261ccae2e..3162559e47 100644 --- a/lib/CodeGen/CodeGenModule.cpp +++ b/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; } |