diff options
Diffstat (limited to 'llvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp')
| -rw-r--r-- | llvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/llvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp b/llvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp index 6d2d630bb6f..d2d8325d1fc 100644 --- a/llvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp +++ b/llvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp @@ -587,10 +587,16 @@ namespace {      /// definition.      void SetAsExit()  { BottomUpPathCount = 1; } +    /// Attempt to find the PtrState object describing the top down state for +    /// pointer Arg. Return a new initialized PtrState describing the top down +    /// state for Arg if we do not find one.      PtrState &getPtrTopDownState(const Value *Arg) {        return PerPtrTopDown[Arg];      } +    /// Attempt to find the PtrState object describing the bottom up state for +    /// pointer Arg. Return a new initialized PtrState describing the bottom up +    /// state for Arg if we do not find one.      PtrState &getPtrBottomUpState(const Value *Arg) {        return PerPtrBottomUp[Arg];      } | 

