mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 22:24:07 +00:00
Remove dead code. NFC.
This interface was added 2 years ago but users never developed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223368 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -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)) {
|
||||
|
Reference in New Issue
Block a user