Remove an argument that we dont use anymore.
[oota-llvm.git] / tools / bugpoint / BugDriver.h
index e48806aee6bc6cba035318920777521999099220..27b37f4dc69b5a431c2f812a11aedd141462be8e 100644 (file)
@@ -17,8 +17,9 @@
 #define BUGDRIVER_H
 
 #include "llvm/ADT/ValueMap.h"
-#include <vector>
+#include "llvm/Transforms/Utils/ValueMapper.h"
 #include <string>
+#include <vector>
 
 namespace llvm {
 
@@ -190,7 +191,7 @@ public:
   /// this function.
   ///
   bool createReferenceFile(Module *M, const std::string &Filename
-                                            = "bugpoint.reference.out");
+                                            = "bugpoint.reference.out-%%%%%%%");
 
   /// diffProgram - This method executes the specified module and diffs the
   /// output against the file specified by ReferenceOutputFile.  If the output
@@ -274,6 +275,8 @@ public:
   /// bitcode file.  If an error occurs, true is returned.
   ///
   bool writeProgramToFile(const std::string &Filename, const Module *M) const;
+  bool writeProgramToFile(const std::string &Filename, int FD,
+                          const Module *M) const;
 
 private:
   /// runPasses - Just like the method above, but this just returns true or
@@ -322,7 +325,7 @@ void DeleteFunctionBody(Function *F);
 /// module, split the functions OUT of the specified module, and place them in
 /// the new module.
 Module *SplitFunctionsOutOfModule(Module *M, const std::vector<Function*> &F,
-                                  ValueMap<const Value*, Value*> &VMap);
+                                  ValueToValueMapTy &VMap);
 
 } // End llvm namespace