# HG changeset patch # User Frits van Bommel # Date 1238338039 -7200 # Node ID b3887714b735a78a7adab7c5e12d1eb35100c43b # Parent 461a85f0db317bfb127448a23974cb2aba4acd78 Small cleanup: remove mars.h #include diff -r 461a85f0db31 -r b3887714b735 gen/optimizer.cpp --- a/gen/optimizer.cpp Sun Mar 29 15:51:14 2009 +0200 +++ b/gen/optimizer.cpp Sun Mar 29 16:47:19 2009 +0200 @@ -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 @@ 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 / -enable-inlining if specified at the end,