[llvm] r249999 - [Bugpoint] Get rid of dead code. No functional change.
Davide Italiano via llvm-commits
llvm-commits at lists.llvm.org
Sun Oct 11 14:36:12 PDT 2015
Author: davide
Date: Sun Oct 11 16:36:11 2015
New Revision: 249999
URL: http://llvm.org/viewvc/llvm-project?rev=249999&view=rev
Log:
[Bugpoint] Get rid of dead code. No functional change.
Modified:
llvm/trunk/tools/bugpoint/ToolRunner.cpp
Modified: llvm/trunk/tools/bugpoint/ToolRunner.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/bugpoint/ToolRunner.cpp?rev=249999&r1=249998&r2=249999&view=diff
==============================================================================
--- llvm/trunk/tools/bugpoint/ToolRunner.cpp (original)
+++ llvm/trunk/tools/bugpoint/ToolRunner.cpp Sun Oct 11 16:36:11 2015
@@ -64,16 +64,6 @@ static int RunProgramWithTimeout(StringR
unsigned MemoryLimit = 0,
std::string *ErrMsg = nullptr) {
const StringRef *Redirects[3] = { &StdInFile, &StdOutFile, &StdErrFile };
-
-#if 0 // For debug purposes
- {
- errs() << "RUN:";
- for (unsigned i = 0; Args[i]; ++i)
- errs() << " " << Args[i];
- errs() << "\n";
- }
-#endif
-
return sys::ExecuteAndWait(ProgramPath, Args, nullptr, Redirects,
NumSeconds, MemoryLimit, ErrMsg);
}
@@ -93,15 +83,6 @@ static int RunProgramRemotelyWithTimeout
unsigned MemoryLimit = 0) {
const StringRef *Redirects[3] = { &StdInFile, &StdOutFile, &StdErrFile };
-#if 0 // For debug purposes
- {
- errs() << "RUN:";
- for (unsigned i = 0; Args[i]; ++i)
- errs() << " " << Args[i];
- errs() << "\n";
- }
-#endif
-
// Run the program remotely with the remote client
int ReturnCode = sys::ExecuteAndWait(RemoteClientPath, Args, nullptr,
Redirects, NumSeconds, MemoryLimit);
More information about the llvm-commits
mailing list