mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
Remove an unused method on the Program class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171332 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f5867ab717
commit
2bbe466475
@ -44,9 +44,6 @@ namespace sys {
|
||||
Program();
|
||||
~Program();
|
||||
|
||||
/// Return process ID of this program.
|
||||
unsigned GetPid() const;
|
||||
|
||||
/// This function executes the program using the \p arguments provided. The
|
||||
/// invoked program will inherit the stdin, stdout, and stderr file
|
||||
/// descriptors, the environment and other configuration settings of the
|
||||
|
@ -47,11 +47,6 @@ Program::Program() : Data_(0) {}
|
||||
|
||||
Program::~Program() {}
|
||||
|
||||
unsigned Program::GetPid() const {
|
||||
uint64_t pid = reinterpret_cast<uint64_t>(Data_);
|
||||
return static_cast<unsigned>(pid);
|
||||
}
|
||||
|
||||
// This function just uses the PATH environment variable to find the program.
|
||||
Path
|
||||
Program::FindProgramByName(const std::string& progName) {
|
||||
|
@ -43,11 +43,6 @@ Program::~Program() {
|
||||
}
|
||||
}
|
||||
|
||||
unsigned Program::GetPid() const {
|
||||
Win32ProcessInfo* wpi = reinterpret_cast<Win32ProcessInfo*>(Data_);
|
||||
return wpi->dwProcessId;
|
||||
}
|
||||
|
||||
// This function just uses the PATH environment variable to find the program.
|
||||
Path
|
||||
Program::FindProgramByName(const std::string& progName) {
|
||||
|
Loading…
Reference in New Issue
Block a user