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/as | |
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/as')
-rw-r--r-- | tools/as/as.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tools/as/as.cpp b/tools/as/as.cpp index 3e8a9ea..9eff972 100644 --- a/tools/as/as.cpp +++ b/tools/as/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())) { |