From 6983f5d2ed74843b9ae94d2506429b9bd695d42c Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 13 Feb 2005 19:12:31 +0000 Subject: Print the module, not the pointer. llvm-svn: 20156 --- llvm/tools/llvm-as/llvm-as.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/tools/llvm-as') diff --git a/llvm/tools/llvm-as/llvm-as.cpp b/llvm/tools/llvm-as/llvm-as.cpp index a28e804ffc2..40ee99642d2 100644 --- a/llvm/tools/llvm-as/llvm-as.cpp +++ b/llvm/tools/llvm-as/llvm-as.cpp @@ -73,7 +73,7 @@ int main(int argc, char **argv) { return 1; } - if (DumpAsm) std::cerr << "Here's the assembly:\n" << M.get(); + if (DumpAsm) std::cerr << "Here's the assembly:\n" << *M.get(); if (OutputFilename != "") { // Specified an output filename? if (OutputFilename != "-") { // Not stdout? -- cgit v1.2.3