diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-01-11 19:26:30 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-01-11 19:26:30 +0000 |
commit | cbf39b58919497f711de24fa687b044805f58ae7 (patch) | |
tree | 088b273ae380f7300ea69467b29c14e7474ce148 /include/llvm/Analysis/Dominators.h | |
parent | eb9f3f91c03c29f020ee3c25cfefe7ae2b496526 (diff) |
Speculatively revert the recent improvements to Dominators.h in an attempt to track down the gcc bootstrap miscompare.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123254 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/Dominators.h')
-rw-r--r-- | include/llvm/Analysis/Dominators.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/Analysis/Dominators.h b/include/llvm/Analysis/Dominators.h index 5e86e2b67a..f3ff43ef8f 100644 --- a/include/llvm/Analysis/Dominators.h +++ b/include/llvm/Analysis/Dominators.h @@ -200,6 +200,8 @@ protected: NodeT *Label, *Child; unsigned Parent, Ancestor; + std::vector<NodeT*> Bucket; + InfoRec() : DFSNum(0), Semi(0), Size(0), Label(0), Child(0), Parent(0), Ancestor(0) {} }; @@ -291,6 +293,9 @@ public: : DominatorBase<NodeT>(isPostDom), DFSInfoValid(false), SlowQueries(0) {} virtual ~DominatorTreeBase() { reset(); } + // FIXME: Should remove this + virtual bool runOnFunction(Function &F) { return false; } + /// compare - Return false if the other dominator tree base matches this /// dominator tree base. Otherwise return true. bool compare(DominatorTreeBase &Other) const { |