Remove unused method. NFC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221759 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola
2014-11-12 02:35:31 +00:00
parent ccb2a0e99a
commit b0022d46da
3 changed files with 0 additions and 22 deletions

View File

@@ -31,14 +31,6 @@ public:
/// @result - The size of the region.
virtual uint64_t getExtent() const = 0;
/// readByte - Tries to read a single byte from the region.
///
/// @param address - The address of the byte, in the same space as getBase().
/// @param ptr - A pointer to a byte to be filled in. Must be non-NULL.
/// @result - 0 if successful; -1 if not. Failure may be due to a
/// bounds violation or an implementation-specific error.
virtual int readByte(uint64_t address, uint8_t *ptr) const = 0;
/// readBytes - Tries to read a contiguous range of bytes from the
/// region, up to the end of the region.
/// You should override this function if there is a quicker

View File

@@ -69,7 +69,6 @@ class StreamingMemoryObject : public StreamableMemoryObject {
public:
StreamingMemoryObject(DataStreamer *streamer);
uint64_t getExtent() const override;
int readByte(uint64_t address, uint8_t *ptr) const override;
int readBytes(uint64_t address, uint64_t size,
uint8_t *buf) const override;
const uint8_t *getPointer(uint64_t address, uint64_t size) const override {