mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-02 08:45:55 +00:00
Fixing a compile error in debug versions of MSVC. It seems that the range-based for loop is confused by the DEBUG macro expansion unless a compound statement is used.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206376 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ae8abf7896
commit
0af5a4e528
@ -492,8 +492,9 @@ static void printReachingDef(const InstrToInstrs *ColorOpToReachedUses,
|
||||
DEBUG(dbgs() << "Def:\n");
|
||||
DEBUG(DefsIt.first->print(dbgs()));
|
||||
DEBUG(dbgs() << "Reachable uses:\n");
|
||||
for (const MachineInstr *MI : DefsIt.second)
|
||||
for (const MachineInstr *MI : DefsIt.second) {
|
||||
DEBUG(MI->print(dbgs()));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user