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/CodeGeneratorBug.cpp | |
| parent | e7a6663eb155eb8eb5de24cf22f632790485e5f9 (diff) | |
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/CodeGeneratorBug.cpp')
| -rw-r--r-- | tools/bugpoint/CodeGeneratorBug.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/bugpoint/CodeGeneratorBug.cpp b/tools/bugpoint/CodeGeneratorBug.cpp index 41df79a110..29a9f6823a 100644 --- a/tools/bugpoint/CodeGeneratorBug.cpp +++ b/tools/bugpoint/CodeGeneratorBug.cpp @@ -224,8 +224,8 @@ bool ReduceMisCodegenFunctions::TestFuncs(const std::vector<Function*> &Funcs, } // Clean up the modules, removing extra cruft that we don't need anymore... - SafeModule = BD.performFinalCleanups(SafeModule); - TestModule = BD.performFinalCleanups(TestModule); + BD.performFinalCleanups(SafeModule); + BD.performFinalCleanups(TestModule); if (BD.writeProgramToFile(TestModuleBC, TestModule)) { std::cerr << "Error writing bytecode to `" << SafeModuleBC << "'\nExiting."; |
