mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-04 23:32:00 +00:00
Made certain small functions in PtrState inlined.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173842 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0933134a30
commit
5500943771
@ -451,31 +451,31 @@ namespace {
|
||||
PtrState() : KnownPositiveRefCount(false), Partial(false),
|
||||
Seq(S_None) {}
|
||||
|
||||
void SetKnownPositiveRefCount() {
|
||||
inline void SetKnownPositiveRefCount() {
|
||||
KnownPositiveRefCount = true;
|
||||
}
|
||||
|
||||
void ClearRefCount() {
|
||||
inline void ClearRefCount() {
|
||||
KnownPositiveRefCount = false;
|
||||
}
|
||||
|
||||
bool IsKnownIncremented() const {
|
||||
inline bool IsKnownIncremented() const {
|
||||
return KnownPositiveRefCount;
|
||||
}
|
||||
|
||||
void SetSeq(Sequence NewSeq) {
|
||||
inline void SetSeq(Sequence NewSeq) {
|
||||
Seq = NewSeq;
|
||||
}
|
||||
|
||||
Sequence GetSeq() const {
|
||||
inline Sequence GetSeq() const {
|
||||
return Seq;
|
||||
}
|
||||
|
||||
void ClearSequenceProgress() {
|
||||
inline void ClearSequenceProgress() {
|
||||
ResetSequenceProgress(S_None);
|
||||
}
|
||||
|
||||
void ResetSequenceProgress(Sequence NewSeq) {
|
||||
inline void ResetSequenceProgress(Sequence NewSeq) {
|
||||
Seq = NewSeq;
|
||||
Partial = false;
|
||||
RRI.clear();
|
||||
|
Loading…
x
Reference in New Issue
Block a user