mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-09 13:33:17 +00:00
Also delete last unused val#.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70212 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4af325d1b4
commit
27e4666c20
@ -629,6 +629,12 @@ void LiveInterval::MergeInClobberRanges(const LiveInterval &Clobbers,
|
||||
UnusedValNo = 0;
|
||||
}
|
||||
}
|
||||
|
||||
if (UnusedValNo) {
|
||||
// Delete the last unused val#.
|
||||
valnos.pop_back();
|
||||
UnusedValNo->~VNInfo();
|
||||
}
|
||||
}
|
||||
|
||||
void LiveInterval::MergeInClobberRange(unsigned Start, unsigned End,
|
||||
|
Loading…
x
Reference in New Issue
Block a user