projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove unused method. NFC.
[oota-llvm.git]
/
lib
/
Support
/
MemoryObject.cpp
diff --git
a/lib/Support/MemoryObject.cpp
b/lib/Support/MemoryObject.cpp
index 02b5b5034fbbe5fef132f1d7128aa0ee87eb39cb..fe5fa87109d67609e9a1f31c4b441901f7b94f5b 100644
(file)
--- a/
lib/Support/MemoryObject.cpp
+++ b/
lib/Support/MemoryObject.cpp
@@
-17,7
+17,7
@@
int MemoryObject::readBytes(uint64_t address,
uint64_t size,
uint8_t* buf) const {
uint64_t current = address;
- uint64_t limit = get
Base() + get
Extent();
+ uint64_t limit = getExtent();
if (current + size > limit)
return -1;