Fix GetConstantStringInfo to not look into MDString (it works on
[oota-llvm.git] / lib / MC / MCSection.cpp
index 333a4710f962d9593d7426b0a0f81f694f86f202..24c89efefc66acea0311b259f95a1e79da5aa2a9 100644 (file)
@@ -25,7 +25,7 @@ MCSection::~MCSection() {
 //===----------------------------------------------------------------------===//
 
 MCSectionCOFF *MCSectionCOFF::
-Create(const StringRef &Name, bool IsDirective, SectionKind K, MCContext &Ctx) {
+Create(StringRef Name, bool IsDirective, SectionKind K, MCContext &Ctx) {
   return new (Ctx) MCSectionCOFF(Name, IsDirective, K);
 }