From eceef384d666095e26dc363ffb671f6eb78755b8 Mon Sep 17 00:00:00 2001 From: Alex Lorenz Date: Tue, 30 Jun 2015 18:32:02 +0000 Subject: [PATCH] Fix compilation failure introduced in r241093. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241096 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/MIRPrinter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/CodeGen/MIRPrinter.cpp b/lib/CodeGen/MIRPrinter.cpp index 6b6675579cc..76cbe2994c9 100644 --- a/lib/CodeGen/MIRPrinter.cpp +++ b/lib/CodeGen/MIRPrinter.cpp @@ -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()); } -- 2.34.1