Make MachinePostDominatorTree::DT private
authorTom Stellard <thomas.stellard@amd.com>
Tue, 18 Sep 2012 13:49:54 +0000 (13:49 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Tue, 18 Sep 2012 13:49:54 +0000 (13:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164125 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/MachinePostDominators.h

index efadd00485f21de660bfe38048f073adcfca4dde..a9fc8434abee6bb1a01e7f2da1c5b672af0d0310 100644 (file)
@@ -27,10 +27,12 @@ namespace llvm {
 /// to compute the a post-dominator tree.
 ///
 struct MachinePostDominatorTree : public MachineFunctionPass {
-  static char ID;
-
+private:
   DominatorTreeBase<MachineBasicBlock> *DT;
 
+public:
+  static char ID;
+
   MachinePostDominatorTree();
 
   ~MachinePostDominatorTree();