mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-05-21 12:38:45 +00:00
add missing operator
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35613 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
44ad43033e
commit
ef65293dc2
@ -543,6 +543,10 @@ public:
|
|||||||
return (*this) - APInt(BitWidth, RHS);
|
return (*this) - APInt(BitWidth, RHS);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
APInt operator<<(unsigned Bits) const {
|
||||||
|
return shl(Bits);
|
||||||
|
}
|
||||||
|
|
||||||
/// Arithmetic right-shift this APInt by shiftAmt.
|
/// Arithmetic right-shift this APInt by shiftAmt.
|
||||||
/// @brief Arithmetic right-shift function.
|
/// @brief Arithmetic right-shift function.
|
||||||
APInt ashr(uint32_t shiftAmt) const;
|
APInt ashr(uint32_t shiftAmt) const;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user