summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-04-30 07:17:30 +0000
committerCraig Topper <craig.topper@gmail.com>2014-04-30 07:17:30 +0000
commit2d2aa0ca1f786efeab2bacd52be626bd3b0d3f55 (patch)
tree988b7e0bdcb92fb8d376f19279667831129e2da6 /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
parent25947c318b9d72490be3a1e4c516f8ff2d7cd180 (diff)
downloadbcm5719-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.cpp2
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);
OpenPOWER on IntegriCloud