Use operator << to print modules
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2360 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/link/link.cpp b/tools/link/link.cpp
index 6cb30a2..2abde5f 100644
--- a/tools/link/link.cpp
+++ b/tools/link/link.cpp
@@ -109,10 +109,7 @@
}
}
- if (DumpAsm) {
- cerr << "Here's the assembly:\n";
- Composite.get()->dump();
- }
+ if (DumpAsm) cerr << "Here's the assembly:\n" << Composite.get();
ostream *Out = &cout; // Default to printing to stdout...
if (OutputFilename != "-") {