mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-05 13:09:10 +00:00
Add more operators.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14589 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5114004110
commit
3b94a5142c
@ -80,6 +80,8 @@ public:
|
||||
DataType operator--(int) { return Value--; }
|
||||
const Statistic &operator+=(const DataType &V) { Value += V; return *this; }
|
||||
const Statistic &operator-=(const DataType &V) { Value -= V; return *this; }
|
||||
const Statistic &operator*=(const DataType &V) { Value *= V; return *this; }
|
||||
const Statistic &operator/=(const DataType &V) { Value /= V; return *this; }
|
||||
};
|
||||
|
||||
} // End llvm namespace
|
||||
|
@ -80,6 +80,8 @@ public:
|
||||
DataType operator--(int) { return Value--; }
|
||||
const Statistic &operator+=(const DataType &V) { Value += V; return *this; }
|
||||
const Statistic &operator-=(const DataType &V) { Value -= V; return *this; }
|
||||
const Statistic &operator*=(const DataType &V) { Value *= V; return *this; }
|
||||
const Statistic &operator/=(const DataType &V) { Value /= V; return *this; }
|
||||
};
|
||||
|
||||
} // End llvm namespace
|
||||
|
Loading…
Reference in New Issue
Block a user