mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
now that all operand printing happens to specified streams, we can
print function level inline asm with EmitInlineAsm instead of writing it directly to "O". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100326 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
75f50725c1
commit
de0f339ec3
@ -1411,11 +1411,8 @@ void AsmPrinter::printInlineAsm(const MachineInstr *MI) const {
|
|||||||
|
|
||||||
// Emit the inline asm to a temporary string so we can emit it through
|
// Emit the inline asm to a temporary string so we can emit it through
|
||||||
// EmitInlineAsm.
|
// EmitInlineAsm.
|
||||||
#if 0
|
|
||||||
SmallString<256> StringData;
|
SmallString<256> StringData;
|
||||||
raw_svector_ostream OS(StringData);
|
raw_svector_ostream OS(StringData);
|
||||||
#endif
|
|
||||||
raw_ostream &OS = O;
|
|
||||||
|
|
||||||
OS << '\t';
|
OS << '\t';
|
||||||
|
|
||||||
@ -1588,9 +1585,7 @@ void AsmPrinter::printInlineAsm(const MachineInstr *MI) const {
|
|||||||
}
|
}
|
||||||
OS << "\n";
|
OS << "\n";
|
||||||
|
|
||||||
#if 0
|
|
||||||
EmitInlineAsm(OS.str());
|
EmitInlineAsm(OS.str());
|
||||||
#endif
|
|
||||||
|
|
||||||
// Emit the #NOAPP end marker. This has to happen even if verbose-asm isn't
|
// Emit the #NOAPP end marker. This has to happen even if verbose-asm isn't
|
||||||
// enabled, so we use EmitRawText.
|
// enabled, so we use EmitRawText.
|
||||||
|
Loading…
Reference in New Issue
Block a user