[llvm-commits] CVS: llvm/tools/bugpoint/OptimizerDriver.cpp
Chris Lattner
sabre at nondot.org
Sun May 6 12:43:30 PDT 2007
Changes in directory llvm/tools/bugpoint:
OptimizerDriver.cpp updated: 1.52 -> 1.53
---
Log message:
Fix a buggy conversion from bytecode to bitcode
---
Diffs of the changes: (+1 -1)
OptimizerDriver.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/tools/bugpoint/OptimizerDriver.cpp
diff -u llvm/tools/bugpoint/OptimizerDriver.cpp:1.52 llvm/tools/bugpoint/OptimizerDriver.cpp:1.53
--- llvm/tools/bugpoint/OptimizerDriver.cpp:1.52 Sun May 6 04:32:02 2007
+++ llvm/tools/bugpoint/OptimizerDriver.cpp Sun May 6 14:43:09 2007
@@ -57,7 +57,7 @@
std::ofstream Out(Filename.c_str(), io_mode);
if (!Out.good()) return true;
- WriteBitcodeToFile(M, Out);
+ WriteBitcodeToFile(M ? M : Program, Out);
return false;
}
More information about the llvm-commits
mailing list