Fix a minor bug in runPassesOn

llvm-svn: 12397
This commit is contained in:
Chris Lattner 2004-03-14 21:37:41 +00:00
parent 37117a0f6a
commit 0e6549b8c7
1 changed files with 1 additions and 0 deletions

View File

@ -179,6 +179,7 @@ Module *BugDriver::runPassesOn(Module *M,
EmitProgressBytecode("pass-error", false);
exit(debugOptimizerCrash());
}
swapProgramIn(OldProgram);
return 0;
}