diff options
author | Jim Grosbach <grosbach@apple.com> | 2010-01-21 20:10:22 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2010-01-21 20:10:22 +0000 |
commit | 143f7eb4c87010d92444932a63353699857c9028 (patch) | |
tree | dd1b2e123048ad047f2f0d087386a4e8f09e8f5c /llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp | |
parent | 1526375827975b483c2c212f09f2cf7458a1b125 (diff) | |
download | bcm5719-llvm-143f7eb4c87010d92444932a63353699857c9028.tar.gz bcm5719-llvm-143f7eb4c87010d92444932a63353699857c9028.zip |
back this out for now. Growing Function is not good.
llvm-svn: 94097
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp index d09f9d9bca4..615be0e1c79 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp @@ -590,16 +590,7 @@ ComputeCallSiteTable(SmallVectorImpl<CallSiteEntry> &CallSites, } // Otherwise, create a new call-site. - if (MAI->getExceptionHandlingType() == ExceptionHandling::Dwarf) - CallSites.push_back(Site); - else { - // SjLj EH must maintain the call sites in the order assigned - // to them by the SjLjPrepare pass. - unsigned SiteNo = MMI->getCallSiteBeginLabel(BeginLabel); - if (CallSites.size() < SiteNo) - CallSites.resize(SiteNo); - CallSites[SiteNo - 1] = Site; - } + CallSites.push_back(Site); PreviousIsInvoke = true; } else { // Create a gap. |