mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-20 00:20:11 +00:00
Merge StreamableMemoryObject into MemoryObject.
Every MemoryObject is a StreamableMemoryObject since the removal of StringRefMemoryObject, so just merge the two. I will clean up the MemoryObject interface in the upcoming commits. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221766 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -32,12 +32,12 @@ using namespace llvm;
|
||||
#define DEBUG_TYPE "Data-stream"
|
||||
|
||||
// Interface goals:
|
||||
// * StreamableMemoryObject doesn't care about complexities like using
|
||||
// * StreamingMemoryObject doesn't care about complexities like using
|
||||
// threads/async callbacks to actually overlap download+compile
|
||||
// * Don't want to duplicate Data in memory
|
||||
// * Don't need to know total Data len in advance
|
||||
// Non-goals:
|
||||
// StreamableMemoryObject already has random access so this interface only does
|
||||
// StreamingMemoryObject already has random access so this interface only does
|
||||
// in-order streaming (no arbitrary seeking, else we'd have to buffer all the
|
||||
// Data here in addition to MemoryObject). This also means that if we want
|
||||
// to be able to to free Data, BitstreamBytes/BitcodeReader will implement it
|
||||
|
||||
Reference in New Issue
Block a user