[MC] Drop unneeded std::abs for DW_def_cfa_offset in DarwinX86AsmBackend::generateCompactUnwindEncoding

This clean-up is available after double negation bugs are fixed.
This commit is contained in:
Fangrui Song 2020-05-22 21:12:17 -07:00
parent 773f8dbd1d
commit 0f6bd9cda6
1 changed files with 1 additions and 1 deletions

View File

@ -1470,7 +1470,7 @@ public:
// L0:
// .cfi_def_cfa_offset 80
//
StackSize = std::abs(Inst.getOffset()) / StackDivide;
StackSize = Inst.getOffset() / StackDivide;
++NumDefCFAOffsets;
break;
}