From 417477d6c2163e428be4e8ae9754518d877219df Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 5 Nov 2003 21:15:19 +0000 Subject: Simplify the performFinalCleanups interface git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9740 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/bugpoint/CodeGeneratorBug.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/bugpoint/CodeGeneratorBug.cpp') 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 &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."; -- cgit v1.2.3-70-g09d2