summaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-05-01 00:33:16 +0000
committerDan Gohman <gohman@apple.com>2010-05-01 00:33:16 +0000
commit5d11ea39f7f78169efdc4a62fd924e8f0661ca55 (patch)
tree5f78fa8453775ebeea36c72f2d82de4916558ccc /lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
parentb55c8bed9d0f3eaa454a657746d8ec11aae9dea3 (diff)
downloadllvm-5d11ea39f7f78169efdc4a62fd924e8f0661ca55.tar.gz
llvm-5d11ea39f7f78169efdc4a62fd924e8f0661ca55.tar.bz2
llvm-5d11ea39f7f78169efdc4a62fd924e8f0661ca55.tar.xz
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
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h')
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h b/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
index baed7e6677..3fcd4b9dc4 100644
--- a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
+++ b/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