aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Support/MemoryObject.cpp
diff options
context:
space:
mode:
authorDerek Schuff <dschuff@google.com>2012-02-29 01:09:06 +0000
committerDerek Schuff <dschuff@google.com>2012-02-29 01:09:06 +0000
commitadef06a71458ded0716935a61b3d43d164d4df12 (patch)
treed56aeec7dde89874b58254175d112ba1e5fddcb5 /lib/Support/MemoryObject.cpp
parent95fe7b9b7251d33ad4128603087edac70cec7c72 (diff)
downloadexternal_llvm-adef06a71458ded0716935a61b3d43d164d4df12.zip
external_llvm-adef06a71458ded0716935a61b3d43d164d4df12.tar.gz
external_llvm-adef06a71458ded0716935a61b3d43d164d4df12.tar.bz2
Make MemoryObject accessor members const again
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151687 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/MemoryObject.cpp')
-rw-r--r--lib/Support/MemoryObject.cpp2
1 files changed, 1 insertions, 1 deletions
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 @@ MemoryObject::~MemoryObject() {
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();