[compiler-rt] Add missing const specifier to MemoryMappedSegment functions
llvm-svn: 308881
This commit is contained in:
parent
e5cc2fcc90
commit
4f82717643
|
@ -42,10 +42,10 @@ struct MemoryMappedSegment {
|
|||
: filename(buff), filename_size(size) {}
|
||||
~MemoryMappedSegment() {}
|
||||
|
||||
bool IsReadable() { return protection & kProtectionRead; }
|
||||
bool IsWritable() { return protection & kProtectionWrite; }
|
||||
bool IsExecutable() { return protection & kProtectionExecute; }
|
||||
bool IsShared() { return protection & kProtectionShared; }
|
||||
bool IsReadable() const { return protection & kProtectionRead; }
|
||||
bool IsWritable() const { return protection & kProtectionWrite; }
|
||||
bool IsExecutable() const { return protection & kProtectionExecute; }
|
||||
bool IsShared() const { return protection & kProtectionShared; }
|
||||
|
||||
uptr start;
|
||||
uptr end;
|
||||
|
|
Loading…
Reference in New Issue