This is not "FIXME" anymore

llvm-svn: 36541
This commit is contained in:
Anton Korobeynikov 2007-04-28 14:57:59 +00:00
parent 2070ca3361
commit 07528e335c

View File

@ -427,9 +427,7 @@ bool BitcodeReader::ResolveGlobalAndAliasInits() {
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!");
}