summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit462720b1b60491b2c6715f16fe9a4a05b39038ee (patch)
tree4e0ec373586b3cd5f8586866cbaf14b0380ab49a /llvm/lib
parent1198002c8105c08a4e242396746775d288bf0a52 (diff)
downloadbcm5719-llvm-462720b1b60491b2c6715f16fe9a4a05b39038ee.tar.gz
bcm5719-llvm-462720b1b60491b2c6715f16fe9a4a05b39038ee.zip
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". llvm-svn: 100326
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
index dea96bd479f..0ad1365a533 100644
--- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+++ b/llvm/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.
OpenPOWER on IntegriCloud