From acf045e97033ba975748a7dc710044cd5b14f46b Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 14 Mar 2004 21:37:41 +0000 Subject: [PATCH] Fix a minor bug in runPassesOn llvm-svn: 12397 --- tools/bugpoint/OptimizerDriver.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/bugpoint/OptimizerDriver.cpp b/tools/bugpoint/OptimizerDriver.cpp index 14ca7c832c3..ad69caaec6e 100644 --- a/tools/bugpoint/OptimizerDriver.cpp +++ b/tools/bugpoint/OptimizerDriver.cpp @@ -179,6 +179,7 @@ Module *BugDriver::runPassesOn(Module *M, EmitProgressBytecode("pass-error", false); exit(debugOptimizerCrash()); } + swapProgramIn(OldProgram); return 0; }