[llvm-commits] CVS: llvm/include/llvm/Analysis/Dominators.h
Chris Lattner
lattner at cs.uiuc.edu
Fri May 21 13:40:03 PDT 2004
Changes in directory llvm/include/llvm/Analysis:
Dominators.h updated: 1.44 -> 1.45
---
Log message:
It's not clear to me whether the old version was correct C++ code, but in
any case it's not portable.
---
Diffs of the changes: (+3 -3)
Index: llvm/include/llvm/Analysis/Dominators.h
diff -u llvm/include/llvm/Analysis/Dominators.h:1.44 llvm/include/llvm/Analysis/Dominators.h:1.45
--- llvm/include/llvm/Analysis/Dominators.h:1.44 Thu Mar 11 17:08:20 2004
+++ llvm/include/llvm/Analysis/Dominators.h Fri May 21 13:38:16 2004
@@ -365,9 +365,9 @@
/// changeImmediateDominator - This method is used to update the dominator
/// tree information when a node's immediate dominator changes.
///
- void changeImmediateDominator(Node *Node, Node *NewIDom) {
- assert(Node && NewIDom && "Cannot change null node pointers!");
- Node->setIDom(NewIDom);
+ void changeImmediateDominator(Node *N, Node *NewIDom) {
+ assert(N && NewIDom && "Cannot change null node pointers!");
+ N->setIDom(NewIDom);
}
/// print - Convert to human readable form
More information about the llvm-commits
mailing list