diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2013-03-07 20:33:29 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2013-03-07 20:33:29 +0000 |
commit | fdf362bd698d389c33b034a781e8ca0d8488abc5 (patch) | |
tree | ec19e8606639da109f2c175a38cb259bd5a8e9bf /llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | |
parent | c7dcc2fbc5301977b40cf7bf7b0e0ca5dbf4a992 (diff) | |
download | bcm5719-llvm-fdf362bd698d389c33b034a781e8ca0d8488abc5.tar.gz bcm5719-llvm-fdf362bd698d389c33b034a781e8ca0d8488abc5.zip |
ArrayRefize some code. No functionality change.
llvm-svn: 176648
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 14280d69412..285625ef04a 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -1671,9 +1671,7 @@ SDNode *SelectionDAGISel::Select_INLINEASM(SDNode *N) { std::vector<SDValue> Ops(N->op_begin(), N->op_end()); SelectInlineAsmMemoryOperands(Ops); - std::vector<EVT> VTs; - VTs.push_back(MVT::Other); - VTs.push_back(MVT::Glue); + EVT VTs[] = { MVT::Other, MVT::Glue }; SDValue New = CurDAG->getNode(ISD::INLINEASM, N->getDebugLoc(), VTs, &Ops[0], Ops.size()); New->setNodeId(-1); |