summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/DataStream.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-11-12 03:55:46 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-11-12 03:55:46 +0000
commit79e1f9ff993c6d4eaf7a7ede20fe073f2af71645 (patch)
tree90fb001da474c994afa5655fd6addf6c52b7d044 /llvm/lib/Support/DataStream.cpp
parent28309185b28034edc1b54c4e2a01c399f5097f28 (diff)
downloadbcm5719-llvm-79e1f9ff993c6d4eaf7a7ede20fe073f2af71645.tar.gz
bcm5719-llvm-79e1f9ff993c6d4eaf7a7ede20fe073f2af71645.zip
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. llvm-svn: 221766
Diffstat (limited to 'llvm/lib/Support/DataStream.cpp')
-rw-r--r--llvm/lib/Support/DataStream.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Support/DataStream.cpp b/llvm/lib/Support/DataStream.cpp
index 32653de5194..dbf6465189d 100644
--- a/llvm/lib/Support/DataStream.cpp
+++ b/llvm/lib/Support/DataStream.cpp
@@ -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
OpenPOWER on IntegriCloud