summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/TargetLoweringObjectFile.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-11-06 10:58:06 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-11-06 10:58:06 +0000
commitad36e8acebbd53427d472042c574d5e989388f90 (patch)
tree37dedc8c6a3fd0fb7523a7aee44abef38c55f6f9 /llvm/lib/Target/TargetLoweringObjectFile.cpp
parente46fd8531ca80d3f5f16795766dbb39c3aba2458 (diff)
downloadbcm5719-llvm-ad36e8acebbd53427d472042c574d5e989388f90.tar.gz
bcm5719-llvm-ad36e8acebbd53427d472042c574d5e989388f90.zip
Pass StringRef by value.
llvm-svn: 86251
Diffstat (limited to 'llvm/lib/Target/TargetLoweringObjectFile.cpp')
-rw-r--r--llvm/lib/Target/TargetLoweringObjectFile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/TargetLoweringObjectFile.cpp b/llvm/lib/Target/TargetLoweringObjectFile.cpp
index c1aab9921fb..3e17058c18c 100644
--- a/llvm/lib/Target/TargetLoweringObjectFile.cpp
+++ b/llvm/lib/Target/TargetLoweringObjectFile.cpp
@@ -671,7 +671,7 @@ TargetLoweringObjectFileMachO::~TargetLoweringObjectFileMachO() {
const MCSectionMachO *TargetLoweringObjectFileMachO::
-getMachOSection(const StringRef &Segment, const StringRef &Section,
+getMachOSection(StringRef Segment, StringRef Section,
unsigned TypeAndAttributes,
unsigned Reserved2, SectionKind Kind) const {
// We unique sections by their segment/section pair. The returned section
OpenPOWER on IntegriCloud