mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-02 08:46:23 +00:00
Make a method public
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12677 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9ae427a14c
commit
11b8cd197a
@ -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).
|
||||||
|
Loading…
Reference in New Issue
Block a user