mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-11 21:38:46 +00:00
Fix compilation failure introduced in r241093.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241096 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4641077ccd
commit
eceef384d6
@ -131,10 +131,10 @@ void MIRPrinter::convert(const Module &M, yaml::MachineBasicBlock &YamlMBB,
|
||||
YamlMBB.Alignment = MBB.getAlignment();
|
||||
YamlMBB.AddressTaken = MBB.hasAddressTaken();
|
||||
YamlMBB.IsLandingPad = MBB.isLandingPad();
|
||||
for (const auto *MBB : MBB.successors()) {
|
||||
for (const auto *SuccMBB : MBB.successors()) {
|
||||
std::string Str;
|
||||
raw_string_ostream StrOS(Str);
|
||||
MIPrinter(M, StrOS, RegisterMaskIds).printMBBReference(*MBB);
|
||||
MIPrinter(M, StrOS, RegisterMaskIds).printMBBReference(*SuccMBB);
|
||||
YamlMBB.Successors.push_back(StrOS.str());
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user