diff options
Diffstat (limited to 'include/llvm/Support/StreamingMemoryObject.h')
-rw-r--r-- | include/llvm/Support/StreamingMemoryObject.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/llvm/Support/StreamingMemoryObject.h b/include/llvm/Support/StreamingMemoryObject.h index 7cb6438d1342..a5980c235946 100644 --- a/include/llvm/Support/StreamingMemoryObject.h +++ b/include/llvm/Support/StreamingMemoryObject.h @@ -50,8 +50,10 @@ public: /// starts (although it can be called anytime). void setKnownObjectSize(size_t size); + /// The number of bytes read at a time from the data streamer. + static const uint32_t kChunkSize = 4096 * 4; + private: - const static uint32_t kChunkSize = 4096 * 4; mutable std::vector<unsigned char> Bytes; std::unique_ptr<DataStreamer> Streamer; mutable size_t BytesRead; // Bytes read from stream |