Helpful comment added. Some code cleanup. No functional change.
[oota-llvm.git] / lib / MC / MCSectionMachO.cpp
index b3aeb9c1789f844810d70d5885bf362e032060d6..6cc67a22252185246492b650ef32ddcb157fff33 100644 (file)
@@ -66,7 +66,7 @@ ENTRY(0 /*FIXME*/,           S_ATTR_LOC_RELOC)
 
 
 MCSectionMachO *MCSectionMachO::
-Create(const StringRef &Segment, const StringRef &Section,
+Create(StringRef Segment, StringRef Section,
        unsigned TypeAndAttributes, unsigned Reserved2,
        SectionKind K, MCContext &Ctx) {
   // S_SYMBOL_STUBS must be set for Reserved2 to be non-zero.