summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMichael Gottesman <mgottesman@apple.com>2013-01-29 22:29:59 +0000
committerMichael Gottesman <mgottesman@apple.com>2013-01-29 22:29:59 +0000
commit5500943771f53340e8f219496b512286e4f5b014 (patch)
tree35cccace036f895ed726984784fa0157ec478072 /lib
parent0933134a304b47d3767aad202df9f0e09743da6d (diff)
downloadllvm-5500943771f53340e8f219496b512286e4f5b014.tar.gz
llvm-5500943771f53340e8f219496b512286e4f5b014.tar.bz2
llvm-5500943771f53340e8f219496b512286e4f5b014.tar.xz
Made certain small functions in PtrState inlined.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173842 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Transforms/ObjCARC/ObjCARCOpts.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/Transforms/ObjCARC/ObjCARCOpts.cpp b/lib/Transforms/ObjCARC/ObjCARCOpts.cpp
index e6cd1a7ca9..3bfb003df5 100644
--- a/lib/Transforms/ObjCARC/ObjCARCOpts.cpp
+++ b/lib/Transforms/ObjCARC/ObjCARCOpts.cpp
@@ -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();