[llvm] r250964 - [WinEH] Remove extraneous call to emitEHRegistrationOffsetLabel

David Majnemer via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 21 16:20:40 PDT 2015


Author: majnemer
Date: Wed Oct 21 18:20:39 2015
New Revision: 250964

URL: http://llvm.org/viewvc/llvm-project?rev=250964&view=rev
Log:
[WinEH] Remove extraneous call to emitEHRegistrationOffsetLabel

It's a relic from the earlier implementation, let's remove it.

Modified:
    llvm/trunk/lib/CodeGen/AsmPrinter/WinException.cpp

Modified: llvm/trunk/lib/CodeGen/AsmPrinter/WinException.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/WinException.cpp?rev=250964&r1=250963&r2=250964&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/WinException.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/WinException.cpp Wed Oct 21 18:20:39 2015
@@ -611,7 +611,6 @@ void WinException::emitCXXFrameHandler3T
     computeIP2StateTable(MF, FuncInfo, IPToStateTable);
   } else {
     FuncInfoXData = Asm->OutContext.getOrCreateLSDASymbol(FuncLinkageName);
-    emitEHRegistrationOffsetLabel(FuncInfo, FuncLinkageName);
   }
 
   int UnwindHelpOffset = 0;




More information about the llvm-commits mailing list