mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-05 18:28:29 +00:00
Fix a use-after-free.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109468 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
23295cc1dd
commit
3eca15bdb5
@ -41,8 +41,6 @@ CriticalAntiDepBreaker::~CriticalAntiDepBreaker() {
|
||||
}
|
||||
|
||||
void CriticalAntiDepBreaker::StartBlock(MachineBasicBlock *BB) {
|
||||
Classes.clear();
|
||||
|
||||
const unsigned BBSize = BB->size();
|
||||
for (unsigned i = 0, e = TRI->getNumRegs(); i != e; ++i) {
|
||||
// Clear out the register class data.
|
||||
|
Loading…
Reference in New Issue
Block a user