diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2012-02-18 19:46:02 +0000 | 
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2012-02-18 19:46:02 +0000 | 
| commit | 082d4829819a32607fa4ff0862bd0c7cc3abb723 (patch) | |
| tree | ebd3c1e038a078a0da5efc17716cdfb703a1f5e5 /llvm/lib/VMCore/Dominators.cpp | |
| parent | 991356e89b92e6db564fc516057474efcbbee753 (diff) | |
| download | bcm5719-llvm-082d4829819a32607fa4ff0862bd0c7cc3abb723.tar.gz bcm5719-llvm-082d4829819a32607fa4ff0862bd0c7cc3abb723.zip | |
White space fixes.
llvm-svn: 150886
Diffstat (limited to 'llvm/lib/VMCore/Dominators.cpp')
| -rw-r--r-- | llvm/lib/VMCore/Dominators.cpp | 14 | 
1 files changed, 7 insertions, 7 deletions
| diff --git a/llvm/lib/VMCore/Dominators.cpp b/llvm/lib/VMCore/Dominators.cpp index 08b845ef9d6..d052f2455d5 100644 --- a/llvm/lib/VMCore/Dominators.cpp +++ b/llvm/lib/VMCore/Dominators.cpp @@ -84,23 +84,23 @@ void DominatorTree::print(raw_ostream &OS, const Module *) const {  // special checks necessary if A and B are in the same basic block.  bool DominatorTree::dominates(const Instruction *A, const Instruction *B) const{    const BasicBlock *BBA = A->getParent(), *BBB = B->getParent(); -   +    // If A is an invoke instruction, its value is only available in this normal    // successor block.    if (const InvokeInst *II = dyn_cast<InvokeInst>(A))      BBA = II->getNormalDest(); -   +    if (BBA != BBB) return dominates(BBA, BBB); -   -  // It is not possible to determine dominance between two PHI nodes  + +  // It is not possible to determine dominance between two PHI nodes    // based on their ordering. -  if (isa<PHINode>(A) && isa<PHINode>(B))  +  if (isa<PHINode>(A) && isa<PHINode>(B))      return false; -   +    // Loop through the basic block until we find A or B.    BasicBlock::const_iterator I = BBA->begin();    for (; &*I != A && &*I != B; ++I)      /*empty*/; -   +    return &*I == A;  } | 

