]> granicus.if.org Git - llvm/commitdiff
Merging r351426:
authorHans Wennborg <hans@hanshq.net>
Fri, 18 Jan 2019 10:57:19 +0000 (10:57 +0000)
committerHans Wennborg <hans@hanshq.net>
Fri, 18 Jan 2019 10:57:19 +0000 (10:57 +0000)
------------------------------------------------------------------------
r351426 | d0k | 2019-01-17 11:25:18 +0100 (Thu, 17 Jan 2019) | 1 line

[MC] Remove unused variable
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_80@351543 91177308-0d34-0410-b5e6-96231b3b80d8

lib/MC/MCWin64EH.cpp

index 2e4eea3411f4bd66a0a467843e4a9d7463548a41..8bc1f08c88750eb1b3fbc12c0c4358beb7c27fda 100644 (file)
@@ -517,7 +517,6 @@ static void ARM64EmitUnwindInfo(MCStreamer &streamer, WinEH::FrameInfo *info) {
     auto &EpilogInstrs = I.second;
     uint32_t CodeBytes = ARM64CountOfUnwindCodes(EpilogInstrs);
 
-    uint32_t NumUnwindCodes = EpilogInstrs.size();
     MCSymbol* MatchingEpilog =
       FindMatchingEpilog(EpilogInstrs, AddedEpilogs, info);
     if (MatchingEpilog) {