summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/CachePruning.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Support/CachePruning.cpp')
-rw-r--r--llvm/lib/Support/CachePruning.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/CachePruning.cpp b/llvm/lib/Support/CachePruning.cpp
index 0a3aef807e4..94a1668710d 100644
--- a/llvm/lib/Support/CachePruning.cpp
+++ b/llvm/lib/Support/CachePruning.cpp
@@ -76,7 +76,7 @@ bool CachePruning::prune() {
return;
TotalSize += FileStatus.getSize();
FileSizes.insert(
- std::make_pair(FileAccessTime.seconds(), std::string(Path)));
+ std::make_pair(FileStatus.getSize(), std::string(Path)));
};
// Walk the entire directory cache, looking for unused files.
OpenPOWER on IntegriCloud