Remove more superfluous .str() and replace std::string concatenation with Twine.
[oota-llvm.git] / lib / Target / Mips / AsmParser / MipsAsmParser.cpp
index 6401bc1719c191c6bb74618599555992a133f201..80cd26fc98ec4df2c7b906f48b8433aa98e158bc 100644 (file)
@@ -2571,7 +2571,7 @@ bool MipsAsmParser::parseRelocOperand(const MCExpr *&Res) {
   if (Tok.isNot(AsmToken::Identifier))
     return true;
 
-  std::string Str = Tok.getIdentifier().str();
+  std::string Str = Tok.getIdentifier();
 
   Parser.Lex(); // Eat the identifier.
   // Now make an expression from the rest of the operand.