mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
Fix typo. Interesting, but old variant worked too :)
llvm-svn: 36588
This commit is contained in:
parent
6045236615
commit
202b9dff0e
@ -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…
Reference in New Issue
Block a user