diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-10-20 01:12:46 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-10-20 01:12:46 +0000 |
commit | a2c90e4743419d8e69ce4299a53fb8da9e20955e (patch) | |
tree | 6b399096c072e039bbcdbdb9f37ca34ebee6fd17 | |
parent | 8d15f33b45f00bff7b368350d874ab4f5b76afb4 (diff) | |
download | llvm-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.cpp | 2 |
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()); } } |