aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-10-20 01:12:46 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-10-20 01:12:46 +0000
commita2c90e4743419d8e69ce4299a53fb8da9e20955e (patch)
tree6b399096c072e039bbcdbdb9f37ca34ebee6fd17
parent8d15f33b45f00bff7b368350d874ab4f5b76afb4 (diff)
downloadllvm-a2c90e4743419d8e69ce4299a53fb8da9e20955e.zip
llvm-a2c90e4743419d8e69ce4299a53fb8da9e20955e.tar.gz
llvm-a2c90e4743419d8e69ce4299a53fb8da9e20955e.tar.bz2
SystemZ: Remove implicit ilist iterator conversion, NFC
llvm-svn: 250790
-rw-r--r--llvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp b/llvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
index 81a1f96..a909309 100644
--- a/llvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
+++ b/llvm/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());
}
}