summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2012-09-18 13:49:54 +0000
committerTom Stellard <thomas.stellard@amd.com>2012-09-18 13:49:54 +0000
commit879d90f23cbef7bc61b54ee4f9bbf131aae3503c (patch)
treef45bad80237820ce42fb22b4f3b0bdd124e2a2a4
parente5373b7c3f3ab3567f5b67f8fe8d61a7f22cea23 (diff)
downloadllvm-879d90f23cbef7bc61b54ee4f9bbf131aae3503c.tar.gz
llvm-879d90f23cbef7bc61b54ee4f9bbf131aae3503c.tar.bz2
llvm-879d90f23cbef7bc61b54ee4f9bbf131aae3503c.tar.xz
Make MachinePostDominatorTree::DT private
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164125 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/CodeGen/MachinePostDominators.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/MachinePostDominators.h b/include/llvm/CodeGen/MachinePostDominators.h
index efadd00485..a9fc8434ab 100644
--- a/include/llvm/CodeGen/MachinePostDominators.h
+++ b/include/llvm/CodeGen/MachinePostDominators.h
@@ -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();