diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-12-04 16:59:36 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-12-04 16:59:36 +0000 |
commit | c0610bf4e0e8844cec9e77dc53deafb211edadca (patch) | |
tree | 0e53ecac9e3225b39578f2bf978cbc4d8fb2eca4 /llvm/lib/Support/MemoryBuffer.cpp | |
parent | a4e55f4d1ec87056703c752644e12640e97fb5a1 (diff) | |
download | bcm5719-llvm-c0610bf4e0e8844cec9e77dc53deafb211edadca.tar.gz bcm5719-llvm-c0610bf4e0e8844cec9e77dc53deafb211edadca.zip |
Remove dead code. NFC.
This interface was added 2 years ago but users never developed.
llvm-svn: 223368
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 7eb0752c222..539b6c3e754 100644 --- a/llvm/lib/Support/MemoryBuffer.cpp +++ b/llvm/lib/Support/MemoryBuffer.cpp @@ -330,7 +330,7 @@ static ErrorOr<std::unique_ptr<MemoryBuffer>> getOpenFileImpl(int FD, const Twine &Filename, uint64_t FileSize, uint64_t MapSize, int64_t Offset, bool RequiresNullTerminator, bool IsVolatileSize) { - static int PageSize = sys::process::get_self()->page_size(); + static int PageSize = sys::Process::getPageSize(); // Default is to map the full file. if (MapSize == uint64_t(-1)) { |