From ad36e8acebbd53427d472042c574d5e989388f90 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Fri, 6 Nov 2009 10:58:06 +0000 Subject: Pass StringRef by value. llvm-svn: 86251 --- llvm/lib/MC/MCSectionELF.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/MC/MCSectionELF.cpp') 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); } -- cgit v1.2.3