80-columns.
[oota-llvm.git] / lib / Support / MemoryObject.cpp
index b20ab8923813215845aa1a517505b95ddc319cd2..02b5b5034fbbe5fef132f1d7128aa0ee87eb39cb 100644 (file)
@@ -15,8 +15,7 @@ MemoryObject::~MemoryObject() {
 
 int MemoryObject::readBytes(uint64_t address,
                             uint64_t size,
-                            uint8_t* buf,
-                            uint64_t* copied) const {
+                            uint8_t* buf) const {
   uint64_t current = address;
   uint64_t limit = getBase() + getExtent();
 
@@ -30,8 +29,5 @@ int MemoryObject::readBytes(uint64_t address,
     current++;
   }
   
-  if (copied)
-    *copied = current - address;
-  
   return 0;
 }