1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00

Make a method public

llvm-svn: 12677
This commit is contained in:
Chris Lattner 2004-04-05 22:01:48 +00:00
parent f856e42795
commit 0442a87f47

View File

@ -209,12 +209,13 @@ public:
bool runPasses(const std::vector<const PassInfo*> &PassesToRun, bool runPasses(const std::vector<const PassInfo*> &PassesToRun,
std::string &OutputFilename, bool DeleteOutput = false, std::string &OutputFilename, bool DeleteOutput = false,
bool Quiet = false) const; bool Quiet = false) const;
private:
/// writeProgramToFile - This writes the current "Program" to the named /// writeProgramToFile - This writes the current "Program" to the named
/// bytecode file. If an error occurs, true is returned. /// bytecode file. If an error occurs, true is returned.
/// ///
bool writeProgramToFile(const std::string &Filename, Module *M = 0) const; bool writeProgramToFile(const std::string &Filename, Module *M = 0) const;
private:
/// runPasses - Just like the method above, but this just returns true or /// runPasses - Just like the method above, but this just returns true or
/// false indicating whether or not the optimizer crashed on the specified /// false indicating whether or not the optimizer crashed on the specified
/// input (true = crashed). /// input (true = crashed).