diff options
author | Craig Topper <craig.topper@gmail.com> | 2014-04-30 07:17:30 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2014-04-30 07:17:30 +0000 |
commit | 2d2aa0ca1f786efeab2bacd52be626bd3b0d3f55 (patch) | |
tree | 988b7e0bdcb92fb8d376f19279667831129e2da6 /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
parent | 25947c318b9d72490be3a1e4c516f8ff2d7cd180 (diff) | |
download | bcm5719-llvm-2d2aa0ca1f786efeab2bacd52be626bd3b0d3f55.tar.gz bcm5719-llvm-2d2aa0ca1f786efeab2bacd52be626bd3b0d3f55.zip |
Use makeArrayRef insted of calling ArrayRef<T> constructor directly. I introduced most of these recently.
llvm-svn: 207616
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index c545bcca074..bf311226cd9 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -527,7 +527,7 @@ static void AddNodeIDNode(FoldingSetNodeID &ID, const SDNode *N) { // Add the return value info. AddNodeIDValueTypes(ID, N->getVTList()); // Add the operand info. - AddNodeIDOperands(ID, ArrayRef<SDUse>(N->op_begin(), N->op_end())); + AddNodeIDOperands(ID, makeArrayRef(N->op_begin(), N->op_end())); // Handle SDNode leafs with special info. AddNodeIDCustom(ID, N); |