mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Fix bug where APSInt::operator-- incremented instead of decremented.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64687 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
50369517b7
commit
3c172a2959
@ -150,7 +150,7 @@ public:
|
|||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
APSInt& operator--() {
|
APSInt& operator--() {
|
||||||
static_cast<APInt&>(*this)++;
|
static_cast<APInt&>(*this)--;
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
APSInt operator++(int) {
|
APSInt operator++(int) {
|
||||||
|
Loading…
Reference in New Issue
Block a user