summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorAlex Lorenz <arphaman@gmail.com>2015-06-30 18:32:02 +0000
committerAlex Lorenz <arphaman@gmail.com>2015-06-30 18:32:02 +0000
commiteb5112bfa8387f327cda3da078a18842795a4359 (patch)
tree0b0a632a1b35a8233dadf858f30a7c51b6d8188e /llvm/lib/CodeGen
parente3ab564e4db411655da8a01f7073b991f940f9e1 (diff)
downloadbcm5719-llvm-eb5112bfa8387f327cda3da078a18842795a4359.tar.gz
bcm5719-llvm-eb5112bfa8387f327cda3da078a18842795a4359.zip
Fix compilation failure introduced in r241093.
llvm-svn: 241096
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/MIRPrinter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/MIRPrinter.cpp b/llvm/lib/CodeGen/MIRPrinter.cpp
index 6b6675579cc..76cbe2994c9 100644
--- a/llvm/lib/CodeGen/MIRPrinter.cpp
+++ b/llvm/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());
}
OpenPOWER on IntegriCloud