[llvm-commits] CVS: llvm/include/llvm/Analysis/Dominators.h
Devang Patel
dpatel at apple.com
Wed Jun 27 19:12:16 PDT 2007
Changes in directory llvm/include/llvm/Analysis:
Dominators.h updated: 1.108 -> 1.109
---
Log message:
Remove unnecessary comments.
---
Diffs of the changes: (+0 -3)
Dominators.h | 3 ---
1 files changed, 3 deletions(-)
Index: llvm/include/llvm/Analysis/Dominators.h
diff -u llvm/include/llvm/Analysis/Dominators.h:1.108 llvm/include/llvm/Analysis/Dominators.h:1.109
--- llvm/include/llvm/Analysis/Dominators.h:1.108 Wed Jun 27 21:07:08 2007
+++ llvm/include/llvm/Analysis/Dominators.h Wed Jun 27 21:11:54 2007
@@ -244,9 +244,6 @@
DomTreeNode *addNewBlock(BasicBlock *BB, BasicBlock *DomBB) {
assert(getNode(BB) == 0 && "Block already in dominator tree!");
DomTreeNode *IDomNode = getNode(DomBB);
- // Check if BB dominates itself.
- //if (!IDomNode && BB == DomBB)
- // IDomNode = BB;
assert(IDomNode && "Not immediate dominator specified for block!");
DFSInfoValid = false;
return DomTreeNodes[BB] =
More information about the llvm-commits
mailing list