forked from OSchip/llvm-project
[X86] Fix gcc7 -Wunused-but-set-variable warning. NFCI.
llvm-svn: 350701
This commit is contained in:
parent
af0d2a69c3
commit
7ee86e8e81
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue