summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineModuleInfo.cpp
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2016-02-18 22:09:30 +0000
committerRichard Trieu <rtrieu@google.com>2016-02-18 22:09:30 +0000
commit7a08381403b54cd8998f3c922f18b65867e3c07c (patch)
tree888b16f3115d38f20de5fefd2d736c173a4fdc76 /llvm/lib/CodeGen/MachineModuleInfo.cpp
parentec3d33274887bc59ff3bfdba90494a63850680cc (diff)
downloadbcm5719-llvm-7a08381403b54cd8998f3c922f18b65867e3c07c.tar.gz
bcm5719-llvm-7a08381403b54cd8998f3c922f18b65867e3c07c.zip
Remove uses of builtin comma operator.
Cleanup for upcoming Clang warning -Wcomma. No functionality change intended. llvm-svn: 261270
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineModuleInfo.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineModuleInfo.cpp b/llvm/lib/CodeGen/MachineModuleInfo.cpp
index 1956a701d8e..244e3fbc4e8 100644
--- a/llvm/lib/CodeGen/MachineModuleInfo.cpp
+++ b/llvm/lib/CodeGen/MachineModuleInfo.cpp
@@ -396,7 +396,8 @@ void MachineModuleInfo::TidyLandingPads(DenseMap<MCSymbol*, uintptr_t> *LPMap) {
LandingPad.BeginLabels.erase(LandingPad.BeginLabels.begin() + j);
LandingPad.EndLabels.erase(LandingPad.EndLabels.begin() + j);
- --j, --e;
+ --j;
+ --e;
}
// Remove landing pads with no try-ranges.
OpenPOWER on IntegriCloud