mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-29 13:09:28 +00:00
[Bugpoint] Get rid of dead code. No functional change.
llvm-svn: 249999
This commit is contained in:
parent
35da9b6e1c
commit
1e91a278b6
@ -64,16 +64,6 @@ static int RunProgramWithTimeout(StringRef ProgramPath,
|
||||
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(StringRef RemoteClientPath,
|
||||
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user