mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-28 06:32:09 +00:00
Fix build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121872 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
697483addf
commit
6203295473
@ -339,7 +339,7 @@ bool SplitAnalysis::isBypassLoop(const MachineLoop *Loop) {
|
|||||||
/// loops whose parent is not a bypass loop.
|
/// loops whose parent is not a bypass loop.
|
||||||
void SplitAnalysis::getBypassLoops(LoopPtrSet &BypassLoops) {
|
void SplitAnalysis::getBypassLoops(LoopPtrSet &BypassLoops) {
|
||||||
SmallVector<MachineLoop*, 8> Todo(loops_.begin(), loops_.end());
|
SmallVector<MachineLoop*, 8> Todo(loops_.begin(), loops_.end());
|
||||||
while (!Todo.empty) {
|
while (!Todo.empty()) {
|
||||||
MachineLoop *Loop = Todo.pop_back_val();
|
MachineLoop *Loop = Todo.pop_back_val();
|
||||||
if (!usingLoops_.count(Loop)) {
|
if (!usingLoops_.count(Loop)) {
|
||||||
// This is either a bypass loop or completely irrelevant.
|
// This is either a bypass loop or completely irrelevant.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user