mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Fix typo
llvm-svn: 55998
This commit is contained in:
parent
3a24741034
commit
bcf0165453
@ -260,7 +260,7 @@ const GlobalValue *GlobalAlias::resolveAliasedGlobal(bool traverseWeak) const {
|
||||
|
||||
// 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();
|
||||
|
Loading…
Reference in New Issue
Block a user