From: Duncan P. N. Exon Smith Date: Tue, 20 Oct 2015 01:12:46 +0000 (+0000) Subject: SystemZ: Remove implicit ilist iterator conversion, NFC X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e8e219bb514b36ed65eca86c8211e2eed5b91d18;p=oota-llvm.git SystemZ: Remove implicit ilist iterator conversion, NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250790 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp b/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp index 81a1f968023..a9093094d88 100644 --- a/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp +++ b/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp @@ -585,7 +585,7 @@ bool SystemZDAGToDAGISel::selectAddress(SDValue Addr, static void insertDAGNode(SelectionDAG *DAG, SDNode *Pos, SDValue N) { if (N.getNode()->getNodeId() == -1 || N.getNode()->getNodeId() > Pos->getNodeId()) { - DAG->RepositionNode(Pos, N.getNode()); + DAG->RepositionNode(Pos->getIterator(), N.getNode()); N.getNode()->setNodeId(Pos->getNodeId()); } }