[llvm-commits] [llvm] r55998 - /llvm/trunk/lib/VMCore/Globals.cpp
Anton Korobeynikov
asl at math.spbu.ru
Tue Sep 9 11:24:08 PDT 2008
Author: asl
Date: Tue Sep 9 13:24:07 2008
New Revision: 55998
URL: http://llvm.org/viewvc/llvm-project?rev=55998&view=rev
Log:
Fix typo
Modified:
llvm/trunk/lib/VMCore/Globals.cpp
Modified: llvm/trunk/lib/VMCore/Globals.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/Globals.cpp?rev=55998&r1=55997&r2=55998&view=diff
==============================================================================
--- llvm/trunk/lib/VMCore/Globals.cpp (original)
+++ llvm/trunk/lib/VMCore/Globals.cpp Tue Sep 9 13:24:07 2008
@@ -260,7 +260,7 @@
// Iterate over aliasing chain, stopping on weak alias if necessary.
while (const GlobalAlias *GA = dyn_cast<GlobalAlias>(GV)) {
- if (traverseWeak && GA->hasWeakLinkage())
+ if (!traverseWeak && GA->hasWeakLinkage())
break;
GV = GA->getAliasedGlobal();
More information about the llvm-commits
mailing list