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/Unix/Memory.inc | |
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/Unix/Memory.inc')
-rw-r--r-- | llvm/lib/Support/Unix/Memory.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Support/Unix/Memory.inc b/llvm/lib/Support/Unix/Memory.inc index c9d89a82474..7ccde463459 100644 --- a/llvm/lib/Support/Unix/Memory.inc +++ b/llvm/lib/Support/Unix/Memory.inc @@ -88,7 +88,7 @@ Memory::allocateMappedMemory(size_t NumBytes, if (NumBytes == 0) return MemoryBlock(); - static const size_t PageSize = process::get_self()->page_size(); + static const size_t PageSize = Process::getPageSize(); const size_t NumPages = (NumBytes+PageSize-1)/PageSize; int fd = -1; @@ -181,7 +181,7 @@ Memory::AllocateRWX(size_t NumBytes, const MemoryBlock* NearBlock, std::string *ErrMsg) { if (NumBytes == 0) return MemoryBlock(); - size_t PageSize = process::get_self()->page_size(); + size_t PageSize = Process::getPageSize(); size_t NumPages = (NumBytes+PageSize-1)/PageSize; int fd = -1; |