diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-11-06 10:58:06 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-11-06 10:58:06 +0000 |
commit | ad36e8acebbd53427d472042c574d5e989388f90 (patch) | |
tree | 37dedc8c6a3fd0fb7523a7aee44abef38c55f6f9 /llvm/lib/MC/MCSectionELF.cpp | |
parent | e46fd8531ca80d3f5f16795766dbb39c3aba2458 (diff) | |
download | bcm5719-llvm-ad36e8acebbd53427d472042c574d5e989388f90.tar.gz bcm5719-llvm-ad36e8acebbd53427d472042c574d5e989388f90.zip |
Pass StringRef by value.
llvm-svn: 86251
Diffstat (limited to 'llvm/lib/MC/MCSectionELF.cpp')
-rw-r--r-- | llvm/lib/MC/MCSectionELF.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCSectionELF.cpp b/llvm/lib/MC/MCSectionELF.cpp index 660a8c9489f..c6812ed99c4 100644 --- a/llvm/lib/MC/MCSectionELF.cpp +++ b/llvm/lib/MC/MCSectionELF.cpp @@ -15,7 +15,7 @@ using namespace llvm; MCSectionELF *MCSectionELF:: -Create(const StringRef &Section, unsigned Type, unsigned Flags, +Create(StringRef Section, unsigned Type, unsigned Flags, SectionKind K, bool isExplicit, MCContext &Ctx) { return new (Ctx) MCSectionELF(Section, Type, Flags, K, isExplicit); } |