diff options
author | Dan Gohman <gohman@apple.com> | 2008-07-09 00:00:42 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-07-09 00:00:42 +0000 |
commit | f877b735ad4987f26cafcbaf22aa4c2199458b5d (patch) | |
tree | 2b108be1599e477161ac76b36a75492d549cc533 /lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
parent | 4e526b9a5b36d9bac170c03df0a5d6fb76740ae2 (diff) |
const-ify SelectionDAG::getNodeValueTypes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53264 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index e01e512e6b..a82f6dee95 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -3399,7 +3399,7 @@ SDOperand SelectionDAG::getNode(unsigned Opcode, MVT VT, } SDOperand SelectionDAG::getNode(unsigned Opcode, - std::vector<MVT> &ResultTys, + const std::vector<MVT> &ResultTys, const SDOperand *Ops, unsigned NumOps) { return getNode(Opcode, getNodeValueTypes(ResultTys), ResultTys.size(), Ops, NumOps); @@ -3969,7 +3969,7 @@ SDNode *SelectionDAG::getTargetNode(unsigned Opcode, MVT VT1, return getNode(ISD::BUILTIN_OP_END+Opcode, VTs, 4, Ops, NumOps).Val; } SDNode *SelectionDAG::getTargetNode(unsigned Opcode, - std::vector<MVT> &ResultTys, + const std::vector<MVT> &ResultTys, const SDOperand *Ops, unsigned NumOps) { const MVT *VTs = getNodeValueTypes(ResultTys); return getNode(ISD::BUILTIN_OP_END+Opcode, VTs, ResultTys.size(), |