forked from OSchip/llvm-project
[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:
parent
773f8dbd1d
commit
0f6bd9cda6
|
@ -1470,7 +1470,7 @@ public:
|
|||
// L0:
|
||||
// .cfi_def_cfa_offset 80
|
||||
//
|
||||
StackSize = std::abs(Inst.getOffset()) / StackDivide;
|
||||
StackSize = Inst.getOffset() / StackDivide;
|
||||
++NumDefCFAOffsets;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue