From 17a4573d2182a291d1aba505c2cf33bdfc8b4637 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 llvm-svn: 2360 --- llvm/tools/llvm-as/llvm-as.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'llvm/tools/llvm-as/llvm-as.cpp') diff --git a/llvm/tools/llvm-as/llvm-as.cpp b/llvm/tools/llvm-as/llvm-as.cpp index 3e8a9eaf31a..9eff9721720 100644 --- a/llvm/tools/llvm-as/llvm-as.cpp +++ b/llvm/tools/llvm-as/llvm-as.cpp @@ -35,10 +35,7 @@ int main(int argc, char **argv) { return 1; } - if (DumpAsm) { - cerr << "Here's the assembly:\n"; - M.get()->dump(); - } + if (DumpAsm) cerr << "Here's the assembly:\n" << M.get(); if (OutputFilename != "") { // Specified an output filename? if (!Force && std::ifstream(OutputFilename.c_str())) { -- cgit v1.2.3