check in what I tested. :(

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100309 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2010-04-04 05:08:10 +00:00
parent c1e0b76306
commit e1783cadf7

View File

@ -1494,7 +1494,7 @@ void AsmPrinter::printInlineAsm(const MachineInstr *MI) const {
const char *StrEnd = strchr(StrStart, '}'); const char *StrEnd = strchr(StrStart, '}');
if (StrEnd == 0) if (StrEnd == 0)
llvm_report_error(Twine("Unterminated ${:foo} operand in inline asm" llvm_report_error(Twine("Unterminated ${:foo} operand in inline asm"
" string: '") + Twine(AsmStr_ + "'")); " string: '") + Twine(AsmStr) + "'");
std::string Val(StrStart, StrEnd); std::string Val(StrStart, StrEnd);
PrintSpecial(MI, OS, Val.c_str()); PrintSpecial(MI, OS, Val.c_str());