Small cleanup: remove mars.h #include

This commit is contained in:
Frits van Bommel
2009-03-29 16:47:19 +02:00
parent 257d305032
commit 6135e4201a

View File

@@ -7,8 +7,7 @@
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/PassNameParser.h"
#include "root.h" // error() & fatal()
#include "mars.h" // global flags
#include "root.h" // error()
using namespace llvm;
@@ -152,7 +151,7 @@ bool ldc_optimize_module(llvm::Module* m)
error("Can't create pass '-%s' (%s)", arg, pass->getPassName());
else
error("Can't create pass (%s)", pass->getPassName());
fatal();
assert(0); // Should be unreachable; root.h:error() calls exit()
}
}
// insert -O<N> / -enable-inlining if specified at the end,