[llvm-commits] CVS: llvm/lib/Bitcode/Reader/BitcodeReader.cpp
Anton Korobeynikov
asl at math.spbu.ru
Sat Apr 28 07:58:17 PDT 2007
Changes in directory llvm/lib/Bitcode/Reader:
BitcodeReader.cpp updated: 1.14 -> 1.15
---
Log message:
This is not "FIXME" anymore
---
Diffs of the changes: (+1 -3)
BitcodeReader.cpp | 4 +---
1 files changed, 1 insertion(+), 3 deletions(-)
Index: llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff -u llvm/lib/Bitcode/Reader/BitcodeReader.cpp:1.14 llvm/lib/Bitcode/Reader/BitcodeReader.cpp:1.15
--- llvm/lib/Bitcode/Reader/BitcodeReader.cpp:1.14 Wed Apr 25 22:27:58 2007
+++ llvm/lib/Bitcode/Reader/BitcodeReader.cpp Sat Apr 28 09:57:59 2007
@@ -427,9 +427,7 @@
AliasInits.push_back(AliasInitWorklist.back());
} else {
if (Constant *C = dyn_cast<Constant>(ValueList[ValID]))
- AliasInitWorklist.back().first->setAliasee(
- // FIXME:
- cast<GlobalValue>(C));
+ AliasInitWorklist.back().first->setAliasee(C);
else
return Error("Alias initializer is not a constant!");
}
More information about the llvm-commits
mailing list