mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-22 23:31:32 +00:00
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:
parent
c1e0b76306
commit
e1783cadf7
@ -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());
|
||||||
|
Loading…
Reference in New Issue
Block a user