mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +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:
parent
a92d12c053
commit
8a7980b5ea
@ -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