[X86] Fix gcc7 -Wunused-but-set-variable warning. NFCI.

llvm-svn: 350701
This commit is contained in:
Simon Pilgrim 2019-01-09 11:18:49 +00:00
parent af0d2a69c3
commit 7ee86e8e81
1 changed files with 0 additions and 2 deletions

View File

@ -540,7 +540,6 @@ protected:
unsigned InstrOffset = 0;
unsigned StackAdjust = 0;
unsigned StackSize = 0;
unsigned PrevStackSize = 0;
unsigned NumDefCFAOffsets = 0;
for (unsigned i = 0, e = Instrs.size(); i != e; ++i) {
@ -588,7 +587,6 @@ protected:
// L0:
// .cfi_def_cfa_offset 80
//
PrevStackSize = StackSize;
StackSize = std::abs(Inst.getOffset()) / StackDivide;
++NumDefCFAOffsets;
break;