[NFC][Alignment] Remove dead code

This commit is contained in:
Guillaume Chatelet 2022-06-20 09:47:18 +00:00
parent 76f60931e2
commit 01cfc8a05a
1 changed files with 0 additions and 5 deletions

View File

@ -314,11 +314,6 @@ bool operator>=(MaybeAlign Lhs, MaybeAlign Rhs) = delete;
bool operator<(MaybeAlign Lhs, MaybeAlign Rhs) = delete;
bool operator>(MaybeAlign Lhs, MaybeAlign Rhs) = delete;
inline Align operator*(Align Lhs, uint64_t Rhs) {
assert(Rhs > 0 && "Rhs must be positive");
return Align(Lhs.value() * Rhs);
}
inline Align operator/(Align Lhs, uint64_t Divisor) {
assert(llvm::isPowerOf2_64(Divisor) &&
"Divisor must be positive and a power of 2");