[llvm-commits] CVS: llvm/tools/bugpoint/ExecutionDriver.cpp

Brian Gaeke gaeke at cs.uiuc.edu
Wed Dec 22 14:33:44 PST 2004



Changes in directory llvm/tools/bugpoint:

ExecutionDriver.cpp updated: 1.50 -> 1.51
---
Log message:

Fix the build on PowerPC/Darwin - it thought we were declaring a new
function or something. Since FileRemover takes a const reference to
sys::Path, we need to pass an actual sys::Path variable.


---
Diffs of the changes:  (+2 -1)

Index: llvm/tools/bugpoint/ExecutionDriver.cpp
diff -u llvm/tools/bugpoint/ExecutionDriver.cpp:1.50 llvm/tools/bugpoint/ExecutionDriver.cpp:1.51
--- llvm/tools/bugpoint/ExecutionDriver.cpp:1.50	Thu Dec 16 17:04:20 2004
+++ llvm/tools/bugpoint/ExecutionDriver.cpp	Wed Dec 22 16:33:33 2004
@@ -195,7 +195,8 @@
   }
 
   // Remove the temporary bytecode file when we are done.
-  FileRemover BytecodeFileRemover(sys::Path(BytecodeFile), CreatedBytecode);
+  sys::Path BytecodePath (BytecodeFile);
+  FileRemover BytecodeFileRemover(BytecodePath, CreatedBytecode);
 
   if (OutputFile.empty()) OutputFile = "bugpoint-execution-output";
 






More information about the llvm-commits mailing list