From bd3306aecb3a15e8967143b8cdbbccf2b1b19b74 Mon Sep 17 00:00:00 2001 From: patrick Date: Sat, 14 Jan 2017 19:55:43 +0000 Subject: Import LLVM 3.9.1 including clang and lld. --- gnu/llvm/lib/CodeGen/MachineModuleInfo.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gnu/llvm/lib/CodeGen/MachineModuleInfo.cpp') diff --git a/gnu/llvm/lib/CodeGen/MachineModuleInfo.cpp b/gnu/llvm/lib/CodeGen/MachineModuleInfo.cpp index 1956a701d8e..244e3fbc4e8 100644 --- a/gnu/llvm/lib/CodeGen/MachineModuleInfo.cpp +++ b/gnu/llvm/lib/CodeGen/MachineModuleInfo.cpp @@ -396,7 +396,8 @@ void MachineModuleInfo::TidyLandingPads(DenseMap *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. -- cgit v1.2.3-59-g8ed1b