mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-11 16:37:42 +00:00
Fix typo. Interesting, but old variant worked too :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36588 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4274e40514
commit
bb1f97cf87
@ -217,7 +217,7 @@ const GlobalValue *GlobalAlias::getAliasedGlobal() const {
|
||||
return GV;
|
||||
else {
|
||||
const ConstantExpr *CE = 0;
|
||||
if ((CE = dyn_cast<ConstantExpr>(Aliasee)) &&
|
||||
if ((CE = dyn_cast<ConstantExpr>(C)) &&
|
||||
(CE->getOpcode() == Instruction::BitCast))
|
||||
return cast<GlobalValue>(CE->getOperand(0));
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user