[llvm] r241096 - Fix compilation failure introduced in r241093.
Alex Lorenz
arphaman at gmail.com
Tue Jun 30 11:32:03 PDT 2015
Author: arphaman
Date: Tue Jun 30 13:32:02 2015
New Revision: 241096
URL: http://llvm.org/viewvc/llvm-project?rev=241096&view=rev
Log:
Fix compilation failure introduced in r241093.
Modified:
llvm/trunk/lib/CodeGen/MIRPrinter.cpp
Modified: llvm/trunk/lib/CodeGen/MIRPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/MIRPrinter.cpp?rev=241096&r1=241095&r2=241096&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/MIRPrinter.cpp (original)
+++ llvm/trunk/lib/CodeGen/MIRPrinter.cpp Tue Jun 30 13:32:02 2015
@@ -131,10 +131,10 @@ void MIRPrinter::convert(const Module &M
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());
}
More information about the llvm-commits
mailing list