mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-02 02:22:31 +00:00
This is not "FIXME" anymore
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36541 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0f53f7f240
commit
7dde0ff0ba
@ -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!");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user