mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Fix the second bug attached to PR504.
llvm-svn: 20181
This commit is contained in:
parent
786b30e148
commit
0a61115d67
@ -139,7 +139,7 @@ namespace {
|
||||
if (It != BasicBlock::iterator(CI)) {
|
||||
// Splice the cast immediately after the operand in question.
|
||||
BasicBlock::InstListType &InstList =
|
||||
I->getParent()->getInstList();
|
||||
It->getParent()->getInstList();
|
||||
InstList.splice(It, CI->getParent()->getInstList(), CI);
|
||||
}
|
||||
return CI;
|
||||
|
Loading…
Reference in New Issue
Block a user