mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-03 14:21:30 +00:00
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
This commit is contained in:
@@ -365,9 +365,9 @@ public:
|
|||||||
/// changeImmediateDominator - This method is used to update the dominator
|
/// changeImmediateDominator - This method is used to update the dominator
|
||||||
/// tree information when a node's immediate dominator changes.
|
/// tree information when a node's immediate dominator changes.
|
||||||
///
|
///
|
||||||
void changeImmediateDominator(Node *Node, Node *NewIDom) {
|
void changeImmediateDominator(Node *N, Node *NewIDom) {
|
||||||
assert(Node && NewIDom && "Cannot change null node pointers!");
|
assert(N && NewIDom && "Cannot change null node pointers!");
|
||||||
Node->setIDom(NewIDom);
|
N->setIDom(NewIDom);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// print - Convert to human readable form
|
/// print - Convert to human readable form
|
||||||
|
|||||||
Reference in New Issue
Block a user