There is no EndPtr anymore - reinterpret the original comment in terms
[oota-llvm.git] / lib / Target / CppBackend / CPPTargetMachine.h
index 1f74f76b5ac14b66937c82a97350bb0b84a1efd8..e42166e05584c70019a7aff692052bf1bacc3827 100644 (file)
@@ -26,11 +26,11 @@ struct CPPTargetMachine : public TargetMachine {
                    const std::string &FS)
     : TargetMachine(T) {}
 
-  virtual bool WantsWholeFile() const { return true; }
-  virtual bool addPassesToEmitWholeFile(PassManager &PM,
-                                        formatted_raw_ostream &Out,
-                                        CodeGenFileType FileType,
-                                        CodeGenOpt::Level OptLevel);
+  virtual bool addPassesToEmitFile(PassManagerBase &PM,
+                                   formatted_raw_ostream &Out,
+                                   CodeGenFileType FileType,
+                                   CodeGenOpt::Level OptLevel,
+                                   bool DisableVerify);
 
   virtual const TargetData *getTargetData() const { return 0; }
 };