mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-05-24 18:38:50 +00:00
Fix typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55998 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
832b2a9cd8
commit
820c83bf6c
@ -260,7 +260,7 @@ const GlobalValue *GlobalAlias::resolveAliasedGlobal(bool traverseWeak) const {
|
|||||||
|
|
||||||
// Iterate over aliasing chain, stopping on weak alias if necessary.
|
// Iterate over aliasing chain, stopping on weak alias if necessary.
|
||||||
while (const GlobalAlias *GA = dyn_cast<GlobalAlias>(GV)) {
|
while (const GlobalAlias *GA = dyn_cast<GlobalAlias>(GV)) {
|
||||||
if (traverseWeak && GA->hasWeakLinkage())
|
if (!traverseWeak && GA->hasWeakLinkage())
|
||||||
break;
|
break;
|
||||||
|
|
||||||
GV = GA->getAliasedGlobal();
|
GV = GA->getAliasedGlobal();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user