mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
Remove the IsVolatileSize parameter of getOpenFileSlice.
getOpenFileSlice gets passed the map size, so it makes no sense to say that the size is volatile. The code will not even compute the size. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219226 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -406,9 +406,10 @@ MemoryBuffer::getOpenFile(int FD, const Twine &Filename, uint64_t FileSize,
|
||||
|
||||
ErrorOr<std::unique_ptr<MemoryBuffer>>
|
||||
MemoryBuffer::getOpenFileSlice(int FD, const Twine &Filename, uint64_t MapSize,
|
||||
int64_t Offset, bool IsVolatileSize) {
|
||||
int64_t Offset) {
|
||||
assert(MapSize != uint64_t(-1));
|
||||
return getOpenFileImpl(FD, Filename, -1, MapSize, Offset, false,
|
||||
IsVolatileSize);
|
||||
/*IsVolatileSize*/ false);
|
||||
}
|
||||
|
||||
ErrorOr<std::unique_ptr<MemoryBuffer>> MemoryBuffer::getSTDIN() {
|
||||
|
||||
Reference in New Issue
Block a user