Remove unused method. NFC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221757 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola
2014-11-12 02:27:40 +00:00
parent 07ac2e2da9
commit 67a38a848e
4 changed files with 1 additions and 8 deletions

View File

@@ -17,7 +17,7 @@ int MemoryObject::readBytes(uint64_t address,
uint64_t size,
uint8_t* buf) const {
uint64_t current = address;
uint64_t limit = getBase() + getExtent();
uint64_t limit = getExtent();
if (current + size > limit)
return -1;