aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-04-04 07:50:12 +0000
committerChris Lattner <sabre@nondot.org>2010-04-04 07:50:12 +0000
commitde0f339ec3a5d804b85043174521efec4ad14991 (patch)
tree339d11bcc8e18df7a0f8a495be1fb224cef9275e /lib
parent75f50725c1d7f86ee545337b155b4feac66627f6 (diff)
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
Diffstat (limited to 'lib')
-rw-r--r--lib/CodeGen/AsmPrinter/AsmPrinter.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
index dea96bd479..0ad1365a53 100644
--- a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+++ b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
@@ -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
// EmitInlineAsm.
-#if 0
SmallString<256> StringData;
raw_svector_ostream OS(StringData);
-#endif
- raw_ostream &OS = O;
OS << '\t';
@@ -1588,9 +1585,7 @@ void AsmPrinter::printInlineAsm(const MachineInstr *MI) const {
}
OS << "\n";
-#if 0
EmitInlineAsm(OS.str());
-#endif
// Emit the #NOAPP end marker. This has to happen even if verbose-asm isn't
// enabled, so we use EmitRawText.