[llvm-commits] CVS: llvm/lib/VMCore/Globals.cpp
Anton Korobeynikov
asl at math.spbu.ru
Mon Apr 30 03:29:00 PDT 2007
Changes in directory llvm/lib/VMCore:
Globals.cpp updated: 1.22 -> 1.23
---
Log message:
Fix typo. Interesting, but old variant worked too :)
---
Diffs of the changes: (+1 -1)
Globals.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/VMCore/Globals.cpp
diff -u llvm/lib/VMCore/Globals.cpp:1.22 llvm/lib/VMCore/Globals.cpp:1.23
--- llvm/lib/VMCore/Globals.cpp:1.22 Sun Apr 29 13:02:48 2007
+++ llvm/lib/VMCore/Globals.cpp Mon Apr 30 05:28:40 2007
@@ -217,7 +217,7 @@
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
More information about the llvm-commits
mailing list