1
0
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:
Chris Lattner 2005-02-14 20:11:45 +00:00
parent 786b30e148
commit 0a61115d67

View File

@ -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;