From 56b662ce0f86c6c8601089bb0903cd066a38d48e Mon Sep 17 00:00:00 2001 From: Derek Schuff Date: Wed, 29 Feb 2012 01:09:06 +0000 Subject: Make MemoryObject accessor members const again llvm-svn: 151687 --- llvm/lib/Support/MemoryObject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Support/MemoryObject.cpp') diff --git a/llvm/lib/Support/MemoryObject.cpp b/llvm/lib/Support/MemoryObject.cpp index c82f46a..b20ab89 100644 --- a/llvm/lib/Support/MemoryObject.cpp +++ b/llvm/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(); -- cgit v1.1