Reapply pieces of 78914 reverted in 78916, this has been fixed.
[oota-llvm.git] / lib / Target / MSIL / MSILWriter.h
index 6c52a17be081b43082e5bdf13db48f31fa491a6d..aa9e07540f9e340aa8a712bcc0720b49fd9a5754 100644 (file)
 #include "llvm/Support/GetElementPtrTypeIterator.h"
 #include "llvm/Target/TargetData.h"
 #include "llvm/Target/TargetMachine.h"
-#include "llvm/Target/TargetMachineRegistry.h"
 #include "llvm/Support/Mangler.h"
-#include <ios>
-using namespace llvm;
 
 namespace llvm {
   extern Target TheMSILTarget;
-}
-
-namespace {
 
   class MSILModule : public ModulePass {
     Module *ModulePtr;
@@ -61,7 +55,7 @@ namespace {
 
   };
 
-  class MSILWriter  : public FunctionPass {
+  class MSILWriter : public FunctionPass {
     struct StaticInitializer {
       const Constant* constant;
       uint64_t offset;