aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-05-21 18:38:16 +0000
committerChris Lattner <sabre@nondot.org>2004-05-21 18:38:16 +0000
commitd49b12041419709a0690667ce1e2b5e9b9a11610 (patch)
tree6c26e5f45f5723569fed5067dcb28880b12ea418
parent3b963590ef2155d5786ea536c884925ed2587dbf (diff)
It's not clear to me whether the old version was correct C++ code, but in
any case it's not portable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13621 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Analysis/Dominators.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Analysis/Dominators.h b/include/llvm/Analysis/Dominators.h
index b2533a16ae..736e5083f6 100644
--- a/include/llvm/Analysis/Dominators.h
+++ b/include/llvm/Analysis/Dominators.h
@@ -365,9 +365,9 @@ public:
/// 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