Simplify target construction.
[oota-llvm.git] / lib / Target / CBackend / CTargetMachine.h
index eec2b16483ebd4ffd90a6a22eca762dc739d1fca..1dde6fe2363d2ae07367ce39760515d2a68c3402 100644 (file)
@@ -23,7 +23,7 @@ struct CTargetMachine : public TargetMachine {
   const TargetData DataLayout;       // Calculates type size & alignment
 
   CTargetMachine(const Module &M, const std::string &FS)
-    : TargetMachine("CBackend", M), DataLayout(&M) {}
+    : DataLayout(&M) {}
 
   // This is the only thing that actually does anything here.
   virtual bool addPassesToEmitFile(PassManager &PM, std::ostream &Out,