It's not clear to me whether the old version was correct C++ code, but in

any case it's not portable.

llvm-svn: 13621
This commit is contained in:
Chris Lattner 2004-05-21 18:38:16 +00:00
parent 54291f6005
commit 37c653a28e
1 changed files with 3 additions and 3 deletions

View File

@ -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