diff options
author | Chris Lattner <sabre@nondot.org> | 2003-11-05 21:15:19 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-11-05 21:15:19 +0000 |
commit | 417477d6c2163e428be4e8ae9754518d877219df (patch) | |
tree | 211dd7dc5bd62b26d6ed36f1c409ab6334e0b17f /tools/bugpoint/BugDriver.h | |
parent | e7a6663eb155eb8eb5de24cf22f632790485e5f9 (diff) | |
download | llvm-417477d6c2163e428be4e8ae9754518d877219df.tar.gz llvm-417477d6c2163e428be4e8ae9754518d877219df.tar.bz2 llvm-417477d6c2163e428be4e8ae9754518d877219df.tar.xz |
Simplify the performFinalCleanups interface
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9740 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/bugpoint/BugDriver.h')
-rw-r--r-- | tools/bugpoint/BugDriver.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/bugpoint/BugDriver.h b/tools/bugpoint/BugDriver.h index acd579914d..6c48c04fa5 100644 --- a/tools/bugpoint/BugDriver.h +++ b/tools/bugpoint/BugDriver.h @@ -158,11 +158,11 @@ private: Module *deleteInstructionFromProgram(Instruction *I, unsigned Simp) const; /// performFinalCleanups - This method clones the current Program and performs - /// a series of cleanups intended to get rid of extra cruft on the module - /// before handing it to the user... if the module parameter is specified, it - /// operates directly on the specified Module, modifying it in place. + /// a series of cleanups intended to get rid of extra cruft on the module. If + /// the MayModifySemantics argument is true, then the cleanups is allowed to + /// modify how the code behaves. /// - Module *performFinalCleanups(Module *M = 0) const; + void performFinalCleanups(Module *M, bool MayModifySemantics = false) const; /// initializeExecutionEnvironment - This method is used to set up the /// environment for executing LLVM programs. |