From: David Majnemer Date: Wed, 21 Oct 2015 23:20:39 +0000 (+0000) Subject: [WinEH] Remove extraneous call to emitEHRegistrationOffsetLabel X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=828759786da156e0a2a34f9ded54c6d976cf3087;p=oota-llvm.git [WinEH] Remove extraneous call to emitEHRegistrationOffsetLabel It's a relic from the earlier implementation, let's remove it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250964 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/AsmPrinter/WinException.cpp b/lib/CodeGen/AsmPrinter/WinException.cpp index 6387e981301..58103836a09 100644 --- a/lib/CodeGen/AsmPrinter/WinException.cpp +++ b/lib/CodeGen/AsmPrinter/WinException.cpp @@ -611,7 +611,6 @@ void WinException::emitCXXFrameHandler3Table(const MachineFunction *MF) { computeIP2StateTable(MF, FuncInfo, IPToStateTable); } else { FuncInfoXData = Asm->OutContext.getOrCreateLSDASymbol(FuncLinkageName); - emitEHRegistrationOffsetLabel(FuncInfo, FuncLinkageName); } int UnwindHelpOffset = 0;