[objc-arc] Refactor (Re-)initialization of PtrState from dataflow -> {TopDown,BottomU...
authorMichael Gottesman <mgottesman@apple.com>
Fri, 6 Mar 2015 00:34:39 +0000 (00:34 +0000)
committerMichael Gottesman <mgottesman@apple.com>
Fri, 6 Mar 2015 00:34:39 +0000 (00:34 +0000)
commitf111a2a5f1249e8ff6cbf2f5d508e934d74df780
tree5c1ed3be1856298e9c1088c9433bf9d213fd3d0e
parent5c86053f698174ca2d1c3af332995e6c72a30a30
[objc-arc] Refactor (Re-)initialization of PtrState from dataflow -> {TopDown,BottomUp}PtrState Class.

This initialization occurs when we see a new retain or release. Before
we performed the actual initialization inline in the dataflow. That is
just messy.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231438 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/ObjCARC/ObjCARCOpts.cpp
lib/Transforms/ObjCARC/PtrState.cpp
lib/Transforms/ObjCARC/PtrState.h