Fix completely broken thinko in GetClassGlobal.

llvm-svn: 65807
This commit is contained in:
Daniel Dunbar 2009-03-02 05:18:14 +00:00
parent 0f3403cb5a
commit a646834214
1 changed files with 1 additions and 1 deletions

View File

@ -4515,7 +4515,7 @@ llvm::GlobalVariable *
CGObjCNonFragileABIMac::GetClassGlobal(const std::string &Name) {
llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name);
if (GV) {
if (!GV) {
GV = new llvm::GlobalVariable(ObjCTypes.ClassnfABITy, false,
llvm::GlobalValue::ExternalLinkage,
0, Name, &CGM.getModule());