Pass StringRef by value.
[oota-llvm.git] / include / llvm / MC / MCSymbol.h
index c6efe723d5d99838b94c447fb441a1d9d895249a..cfe04d8855e16bc44f8cb8412a8e03223971c64c 100644 (file)
@@ -56,7 +56,7 @@ namespace llvm {
 
   private:  // MCContext creates and uniques these.
     friend class MCContext;
-    MCSymbol(const StringRef &_Name, bool _IsTemporary)
+    MCSymbol(StringRef _Name, bool _IsTemporary)
       : Name(_Name), Section(0), Value(0), IsTemporary(_IsTemporary) {}
 
     MCSymbol(const MCSymbol&);       // DO NOT IMPLEMENT