Minor cleanups

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6799 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-06-20 15:49:04 +00:00
parent e3ba95e6b7
commit 5b836c4a06

View File

@ -1,6 +1,6 @@
//===-- llc.cpp - Implement the LLVM Compiler -----------------------------===//
//===-- llc.cpp - Implement the LLVM Native Code Generator ----------------===//
//
// This is the llc compiler driver.
// This is the llc code generator.
//
//===----------------------------------------------------------------------===//
@ -15,11 +15,6 @@
#include "Support/Signals.h"
#include <memory>
#include <fstream>
#include <cstdio>
//------------------------------------------------------------------------------
// Option declarations for LLC.
//------------------------------------------------------------------------------
// General options for llc. Other pass-specific options are specified
// within the corresponding llc passes, and target-specific options
@ -58,21 +53,14 @@ GetFileNameRoot(const std::string &InputFilename)
}
//===---------------------------------------------------------------------===//
// Function main()
// main - Entry point for the llc compiler.
//
// Entry point for the llc compiler.
//===---------------------------------------------------------------------===//
int
main(int argc, char **argv)
{
int main(int argc, char **argv) {
cl::ParseCommandLineOptions(argc, argv, " llvm system compiler\n");
// Load the module to be compiled...
std::auto_ptr<Module> M(ParseBytecodeFile(InputFilename));
if (M.get() == 0)
{
if (M.get() == 0) {
std::cerr << argv[0] << ": bytecode didn't read correctly.\n";
return 1;
}