diff options
author | Chris Lattner <sabre@nondot.org> | 2002-04-28 05:13:45 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-04-28 05:13:45 +0000 |
commit | d43035e1d75fa3faeb3e61ad1e067b60d36d5e65 (patch) | |
tree | 87695468856dff2d7b6b85fd330e346647589d85 /tools/link | |
parent | f4467b8ebc71ba1a6235b6fde4f74bca09dfbabe (diff) | |
download | external_llvm-d43035e1d75fa3faeb3e61ad1e067b60d36d5e65.zip external_llvm-d43035e1d75fa3faeb3e61ad1e067b60d36d5e65.tar.gz external_llvm-d43035e1d75fa3faeb3e61ad1e067b60d36d5e65.tar.bz2 |
Use operator << to print modules
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2360 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/link')
-rw-r--r-- | tools/link/link.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
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 @@ int main(int argc, char **argv) { } } - 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 != "-") { |