[ARM] Allow TargetParser to accurately target architectures
[oota-llvm.git] / include / llvm / Support / StreamingMemoryObject.h
index 7cb6438d1342c190b5d78740b5b14f3c733189dd..a5980c235946151aa847c2d5ea9f67a120166b98 100644 (file)
@@ -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