mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-21 08:17:40 +00:00
Fix the second bug attached to PR504.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20181 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user