From d43035e1d75fa3faeb3e61ad1e067b60d36d5e65 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 28 Apr 2002 05:13:45 +0000 Subject: Use operator << to print modules git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2360 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/link/link.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'tools/link') 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 != "-") { -- cgit v1.1