summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-04-16 06:10:51 +0000
committerCraig Topper <craig.topper@gmail.com>2014-04-16 06:10:51 +0000
commitabb4ac7f8710293a7db6282e312c8abaaed394fe (patch)
tree4ce6614f53d89f080a30aee16ced55494bf5b71d /llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
parentada08576794e09149986dea19c9567abb56c3c02 (diff)
downloadbcm5719-llvm-abb4ac7f8710293a7db6282e312c8abaaed394fe.tar.gz
bcm5719-llvm-abb4ac7f8710293a7db6282e312c8abaaed394fe.zip
Convert SelectionDAG::getVTList to use ArrayRef
llvm-svn: 206357
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index 6697062ec7f..215127d4bcf 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -2922,7 +2922,7 @@ SelectCodeCommon(SDNode *NodeToMatch, const unsigned char *MatcherTable,
else if (VTs.size() == 2)
VTList = CurDAG->getVTList(VTs[0], VTs[1]);
else
- VTList = CurDAG->getVTList(VTs.data(), VTs.size());
+ VTList = CurDAG->getVTList(VTs);
// Get the operand list.
unsigned NumOps = MatcherTable[MatcherIndex++];
OpenPOWER on IntegriCloud