Fix some cases where StringRef was being passed by const reference. Remove const...
[oota-llvm.git] / lib / Target / NVPTX / MCTargetDesc / NVPTXMCAsmInfo.cpp
index 366341afe1b8fa3a86781a7cf1df5de3193fc42f..295d03721a6f89ddb100e7a458ffdf790f65cbaa 100644 (file)
@@ -25,7 +25,7 @@ static cl::opt<bool> CompileForDebugging("debug-compile",
 
 void NVPTXMCAsmInfo::anchor() {}
 
-NVPTXMCAsmInfo::NVPTXMCAsmInfo(const StringRef &TT) {
+NVPTXMCAsmInfo::NVPTXMCAsmInfo(StringRef TT) {
   Triple TheTriple(TT);
   if (TheTriple.getArch() == Triple::nvptx64) {
     PointerSize = CalleeSaveStackSlotSize = 8;