check in what I tested. :(
authorChris Lattner <sabre@nondot.org>
Sun, 4 Apr 2010 05:08:10 +0000 (05:08 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 4 Apr 2010 05:08:10 +0000 (05:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100309 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/AsmPrinter/AsmPrinter.cpp

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