diff options
author | Dan Gohman <gohman@apple.com> | 2010-05-01 00:33:16 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-05-01 00:33:16 +0000 |
commit | 63f31115cdf1ca90e1e982b3d2be27e621eb526e (patch) | |
tree | d3c86b5bc0ecb9c75bac7eda7d301272a836a10d /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h | |
parent | 66561537f539a9b114f8fde39ef555704bdd4365 (diff) | |
download | bcm5719-llvm-63f31115cdf1ca90e1e982b3d2be27e621eb526e.tar.gz bcm5719-llvm-63f31115cdf1ca90e1e982b3d2be27e621eb526e.zip |
Don't pass SDValues by non-const reference unless they may be
modified.
llvm-svn: 102816
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h index baed7e6677e..3fcd4b9dc43 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h @@ -500,7 +500,7 @@ private: /// the entry BB. bool EmitFuncArgumentDbgValue(const DbgValueInst &DI, const Value *V, MDNode *Variable, - uint64_t Offset, SDValue &N); + uint64_t Offset, const SDValue &N); }; } // end namespace llvm |