summaryrefslogtreecommitdiff
path: root/lib/Target/ARM/ARMISelDAGToDAG.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2013-03-07 20:33:29 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2013-03-07 20:33:29 +0000
commit3853f74aba301ef08b699bac2fa8e53230714a58 (patch)
tree8af2ea11fd481d60cfca64cab622f7e6877125e5 /lib/Target/ARM/ARMISelDAGToDAG.cpp
parenta4dd8d67320d86ca7dfd88cb3d0c189cab713a88 (diff)
downloadllvm-3853f74aba301ef08b699bac2fa8e53230714a58.tar.gz
llvm-3853f74aba301ef08b699bac2fa8e53230714a58.tar.bz2
llvm-3853f74aba301ef08b699bac2fa8e53230714a58.tar.xz
ArrayRefize some code. No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176648 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMISelDAGToDAG.cpp')
-rw-r--r--lib/Target/ARM/ARMISelDAGToDAG.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Target/ARM/ARMISelDAGToDAG.cpp b/lib/Target/ARM/ARMISelDAGToDAG.cpp
index a83f052760..5d9d784d96 100644
--- a/lib/Target/ARM/ARMISelDAGToDAG.cpp
+++ b/lib/Target/ARM/ARMISelDAGToDAG.cpp
@@ -3195,9 +3195,7 @@ SDNode *ARMDAGToDAGISel::Select(SDNode *N) {
// Store exclusive double return a i32 value which is the return status
// of the issued store.
- std::vector<EVT> ResTys;
- ResTys.push_back(MVT::i32);
- ResTys.push_back(MVT::Other);
+ EVT ResTys[] = { MVT::i32, MVT::Other };
bool isThumb = Subtarget->isThumb() && Subtarget->hasThumb2();
// Place arguments in the right order.