[llvm-branch-commits] [llvm-branch] r114988 - /llvm/branches/Apple/Morbo/tools/lto/LTOModule.cpp

Bill Wendling isanbard at gmail.com
Tue Sep 28 14:05:54 PDT 2010


Author: void
Date: Tue Sep 28 16:05:54 2010
New Revision: 114988

URL: http://llvm.org/viewvc/llvm-project?rev=114988&view=rev
Log:
$ svn merge -c 110757 https://llvm.org/svn/llvm-project/llvm/trunk
--- Merging r110757 into '.':
U    tools/lto/LTOModule.cpp


Modified:
    llvm/branches/Apple/Morbo/tools/lto/LTOModule.cpp

Modified: llvm/branches/Apple/Morbo/tools/lto/LTOModule.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Morbo/tools/lto/LTOModule.cpp?rev=114988&r1=114987&r2=114988&view=diff
==============================================================================
--- llvm/branches/Apple/Morbo/tools/lto/LTOModule.cpp (original)
+++ llvm/branches/Apple/Morbo/tools/lto/LTOModule.cpp Tue Sep 28 16:05:54 2010
@@ -369,7 +369,7 @@
 
 void LTOModule::addAsmGlobalSymbol(const char *name) {
     // only add new define if not already defined
-    if (_defines.count(name) == 0) 
+    if (_defines.count(name)) 
         return;
         
     // string is owned by _defines





More information about the llvm-branch-commits mailing list