projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4274e40
)
Fix typo. Interesting, but old variant worked too :)
author
Anton Korobeynikov
<asl@math.spbu.ru>
Mon, 30 Apr 2007 10:28:40 +0000
(10:28 +0000)
committer
Anton Korobeynikov
<asl@math.spbu.ru>
Mon, 30 Apr 2007 10:28:40 +0000
(10:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36588
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/Globals.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/Globals.cpp
b/lib/VMCore/Globals.cpp
index aeb34f43715d46aed6d8afe3286b33a63a5de72b..41a9adda079b4a4b1f2f090cf2ab1a6cff87a64d 100644
(file)
--- a/
lib/VMCore/Globals.cpp
+++ b/
lib/VMCore/Globals.cpp
@@
-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