commit | 764bd4bf9503227ad36c3f423965fd5c7476cc38 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Sat May 01 00:33:16 2010 +0000 |
committer | Dan Gohman <gohman@apple.com> | Sat May 01 00:33:16 2010 +0000 |
tree | 5f78fa8453775ebeea36c72f2d82de4916558ccc | |
parent | b58dd0eab416206a97f19e6559679bb73dd60882 [diff] [blame] |
Don't pass SDValues by non-const reference unless they may be modified. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102816 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h b/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h index baed7e6..3fcd4b9 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h +++ b/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
@@ -500,7 +500,7 @@ /// 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