mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
Fix a REALLY obscure bug in my previous checkin, which was splicing the END
marker from one ilist into the middle of another basic block! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16925 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a4b9c7841f
commit
989cbd58fb
@ -138,7 +138,7 @@ namespace {
|
||||
// Splice the cast immediately after the operand in question.
|
||||
BasicBlock::InstListType &InstList =
|
||||
I->getParent()->getInstList();
|
||||
InstList.splice(It, InstList, CI);
|
||||
InstList.splice(It, CI->getParent()->getInstList(), CI);
|
||||
}
|
||||
return CI;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user