| OLD | NEW |
| 1 //==- ThreadedStreamingCache.h - Cache for StreamingMemoryObject -*- C++ -*-==// | 1 //==- ThreadedStreamingCache.h - Cache for StreamingMemoryObject -*- C++ -*-==// |
| 2 // | 2 // |
| 3 // The LLVM Compiler Infrastructure | 3 // The LLVM Compiler Infrastructure |
| 4 // | 4 // |
| 5 // This file is distributed under the University of Illinois Open Source | 5 // This file is distributed under the University of Illinois Open Source |
| 6 // License. See LICENSE.TXT for details. | 6 // License. See LICENSE.TXT for details. |
| 7 // | 7 // |
| 8 //===----------------------------------------------------------------------===// | 8 //===----------------------------------------------------------------------===// |
| 9 | 9 |
| 10 #ifndef THREADEDSTREAMINGCACHE_H | 10 #ifndef THREADEDSTREAMINGCACHE_H |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 | 61 |
| 62 llvm::StreamingMemoryObject *Streamer; | 62 llvm::StreamingMemoryObject *Streamer; |
| 63 // Cached data for addresses [CacheBase, CacheBase + kCacheSize) | 63 // Cached data for addresses [CacheBase, CacheBase + kCacheSize) |
| 64 mutable std::vector<unsigned char> Cache; | 64 mutable std::vector<unsigned char> Cache; |
| 65 // The MemoryObject is at least this size. Used as a cache for isValidAddress. | 65 // The MemoryObject is at least this size. Used as a cache for isValidAddress. |
| 66 mutable uint64_t MinObjectSize; | 66 mutable uint64_t MinObjectSize; |
| 67 // Current base address for the cache. | 67 // Current base address for the cache. |
| 68 mutable uint64_t CacheBase; | 68 mutable uint64_t CacheBase; |
| 69 | 69 |
| 70 ThreadedStreamingCache( | 70 ThreadedStreamingCache( |
| 71 const ThreadedStreamingCache&) LLVM_DELETED_FUNCTION; | 71 const ThreadedStreamingCache&) = delete; |
| 72 void operator=(const ThreadedStreamingCache&) LLVM_DELETED_FUNCTION; | 72 void operator=(const ThreadedStreamingCache&) = delete; |
| 73 }; | 73 }; |
| 74 | 74 |
| 75 } // namespace llvm | 75 } // namespace llvm |
| 76 | 76 |
| 77 #endif // THREADEDSTREAMINGCACHE_H | 77 #endif // THREADEDSTREAMINGCACHE_H |
| OLD | NEW |