diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-12 20:58:35 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-12 20:58:35 +0000 |
| commit | cb2eca0f91ae8012b96999f3b2ff3e023af4d364 (patch) | |
| tree | 8c5a828e1955b5d83a071b06d73bb403c9a54e78 /llvm/lib/Support/MemoryBuffer.cpp | |
| parent | c2467c4e9b7997bcab43e858b4448e2c6e0d9224 (diff) | |
| download | bcm5719-llvm-cb2eca0f91ae8012b96999f3b2ff3e023af4d364.tar.gz bcm5719-llvm-cb2eca0f91ae8012b96999f3b2ff3e023af4d364.zip | |
Remove the program class.
It was only used to implement ExecuteAndWait and ExecuteNoWait. Expose just
those two functions and make Execute and Wait implementations details.
llvm-svn: 183864
Diffstat (limited to 'llvm/lib/Support/MemoryBuffer.cpp')
| -rw-r--r-- | llvm/lib/Support/MemoryBuffer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/MemoryBuffer.cpp b/llvm/lib/Support/MemoryBuffer.cpp index 82812c0aed6..e875d11ec39 100644 --- a/llvm/lib/Support/MemoryBuffer.cpp +++ b/llvm/lib/Support/MemoryBuffer.cpp @@ -419,7 +419,7 @@ error_code MemoryBuffer::getSTDIN(OwningPtr<MemoryBuffer> &result) { // // FIXME: That isn't necessarily true, we should try to mmap stdin and // fallback if it fails. - sys::Program::ChangeStdinToBinary(); + sys::ChangeStdinToBinary(); return getMemoryBufferForStream(0, "<stdin>", result); } |

