diff options
author | Owen Anderson <resistor@mac.com> | 2007-04-15 23:14:18 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2007-04-15 23:14:18 +0000 |
commit | e934fefd6b6c83816e81bc86389cd593fb930773 (patch) | |
tree | 6445864e32f33f14016a7317227b4734dd2203a7 /lib/Analysis/PostDominators.cpp | |
parent | 4575ab2186e5fbc3f572468ee0c9edfe55158ed0 (diff) |
Tabs -> Spaces
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36094 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/PostDominators.cpp')
-rw-r--r-- | lib/Analysis/PostDominators.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Analysis/PostDominators.cpp b/lib/Analysis/PostDominators.cpp index 7351ed7a6a..f93190c686 100644 --- a/lib/Analysis/PostDominators.cpp +++ b/lib/Analysis/PostDominators.cpp @@ -216,8 +216,8 @@ ETNode *PostETForest::getNodeForBlock(BasicBlock *BB) { // If we are unreachable, we may not have an immediate dominator. if (!node) - return 0; - else if (!node->getIDom()) + return 0; + else if (!node->getIDom()) return BBNode = new ETNode(BB); else { ETNode *IDomNode = getNodeForBlock(node->getIDom()->getBlock()); @@ -242,7 +242,7 @@ void PostETForest::calculate(const PostDominatorTree &DT) { ETNode *&BBNode = Nodes[BB]; if (!BBNode) { ETNode *IDomNode = NULL; - PostDominatorTree::Node *node = DT.getNode(BB); + PostDominatorTree::Node *node = DT.getNode(BB); if (node && node->getIDom()) IDomNode = getNodeForBlock(node->getIDom()->getBlock()); |