mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-21 03:05:26 -04:00
[CodeGen] Improve formatting of jump tables (NFC)
Split jump tables into individual lines and fix spacing. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@364436 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -912,9 +912,11 @@ void MachineJumpTableInfo::print(raw_ostream &OS) const {
|
||||
OS << "Jump Tables:\n";
|
||||
|
||||
for (unsigned i = 0, e = JumpTables.size(); i != e; ++i) {
|
||||
OS << printJumpTableEntryReference(i) << ": ";
|
||||
OS << printJumpTableEntryReference(i) << ':';
|
||||
for (unsigned j = 0, f = JumpTables[i].MBBs.size(); j != f; ++j)
|
||||
OS << ' ' << printMBBReference(*JumpTables[i].MBBs[j]);
|
||||
if (i != e)
|
||||
OS << '\n';
|
||||
}
|
||||
|
||||
OS << '\n';
|
||||
|
||||
Reference in New Issue
Block a user