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 | 919936815ed9b3295b630f3c5821354d118d4cf6 (patch) | |
tree | 0cc6e5ee404b42230a5fde8f09519b5ecf09c1c2 /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
parent | f188fa4499e2cad33c4fe7a701491a118d621dfa (diff) | |
download | bcm5719-llvm-919936815ed9b3295b630f3c5821354d118d4cf6.tar.gz bcm5719-llvm-919936815ed9b3295b630f3c5821354d118d4cf6.zip |
const-ify SelectionDAG::getNodeValueTypes.
llvm-svn: 53264
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index e01e512e6ba..a82f6dee952 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/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(), |