From 7c2ffde625e63e56bb78f842cb723ac869785d22 Mon Sep 17 00:00:00 2001 From: Jim Grosbach Date: Tue, 1 Sep 2009 17:19:13 +0000 Subject: [PATCH] revert inadvertant change from previous commit llvm-svn: 80689 --- lib/CodeGen/AsmPrinter/DwarfException.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/CodeGen/AsmPrinter/DwarfException.cpp b/lib/CodeGen/AsmPrinter/DwarfException.cpp index a1fa20e07f1..6d6af83bd27 100644 --- a/lib/CodeGen/AsmPrinter/DwarfException.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfException.cpp @@ -459,8 +459,9 @@ ComputeCallSiteTable(SmallVectorImpl &CallSites, FirstActions[P.PadIndex] }; - // Try to merge with the previous call-site. - if (PreviousIsInvoke) { + // Try to merge with the previous call-site. SJLJ doesn't do this + if (PreviousIsInvoke && + MAI->getExceptionHandlingType() == ExceptionHandling::Dwarf) { CallSiteEntry &Prev = CallSites.back(); if (Site.PadLabel == Prev.PadLabel && Site.Action == Prev.Action) { // Extend the range of the previous entry.