reapply my strstr optimization. I have reproduced the x86-64 bootstrap
[oota-llvm.git] / lib / MC / MCSection.cpp
index 1f2896b7ccf3fe5c373035023e3e1c02c136b722..24c89efefc66acea0311b259f95a1e79da5aa2a9 100644 (file)
@@ -25,11 +25,11 @@ 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);
 }
 
-void MCSectionCOFF::PrintSwitchToSection(const MCAsmInfo &TAI,
+void MCSectionCOFF::PrintSwitchToSection(const MCAsmInfo &MAI,
                                          raw_ostream &OS) const {
   
   if (isDirective()) {