mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-29 14:40:39 +00:00
clean up comments
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19920 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4b724b1cb9
commit
5ea56e5924
@ -42,7 +42,7 @@ int main(int argc, char **argv) {
|
||||
cl::ParseCommandLineOptions(argc, argv, " llvm .bc -> .ll disassembler\n");
|
||||
sys::PrintStackTraceOnErrorSignal();
|
||||
|
||||
std::ostream *Out = &std::cout; // Default to printing to stdout...
|
||||
std::ostream *Out = &std::cout; // Default to printing to stdout.
|
||||
std::string ErrorMessage;
|
||||
|
||||
std::auto_ptr<Module> M(ParseBytecodeFile(InputFilename, &ErrorMessage));
|
||||
@ -98,8 +98,7 @@ int main(int argc, char **argv) {
|
||||
Out = &std::cout;
|
||||
}
|
||||
|
||||
// All that dis does is write the assembly or C out to a file...
|
||||
//
|
||||
// All that llvm-dis does is write the assembly to a file.
|
||||
PassManager Passes;
|
||||
Passes.add(new PrintModulePass(Out));
|
||||
Passes.run(*M.get());
|
||||
|
Loading…
Reference in New Issue
Block a user