mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-14 17:28:53 +00:00
[X86] Fix gcc7 -Wunused-but-set-variable warning. NFCI.
llvm-svn: 350701
This commit is contained in:
parent
070b71657b
commit
c01f11adfe
@ -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…
x
Reference in New Issue
Block a user