commit | adef06a71458ded0716935a61b3d43d164d4df12 | [log] [tgz] |
---|---|---|
author | Derek Schuff <dschuff@google.com> | Wed Feb 29 01:09:06 2012 +0000 |
committer | Derek Schuff <dschuff@google.com> | Wed Feb 29 01:09:06 2012 +0000 |
tree | d56aeec7dde89874b58254175d112ba1e5fddcb5 | |
parent | 95fe7b9b7251d33ad4128603087edac70cec7c72 [diff] [blame] |
Make MemoryObject accessor members const again git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151687 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Support/MemoryObject.cpp b/lib/Support/MemoryObject.cpp index c82f46a..b20ab89 100644 --- a/lib/Support/MemoryObject.cpp +++ b/lib/Support/MemoryObject.cpp
@@ -16,7 +16,7 @@ int MemoryObject::readBytes(uint64_t address, uint64_t size, uint8_t* buf, - uint64_t* copied) { + uint64_t* copied) const { uint64_t current = address; uint64_t limit = getBase() + getExtent();