diff options
author | Sebastian Redl <sebastian.redl@getdesigned.at> | 2010-08-04 21:22:45 +0000 |
---|---|---|
committer | Sebastian Redl <sebastian.redl@getdesigned.at> | 2010-08-04 21:22:45 +0000 |
commit | fa78dec572259aca763457b435744f79d822c5d4 (patch) | |
tree | 2839cc78d6a9d07e890e44c1cf3ca6595bf1d184 /lib/Frontend/PCHWriter.cpp | |
parent | 725cd9686a0f5bb6c994cb3e43f58b63567c6860 (diff) |
Bring stats for the method pool back.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110247 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/PCHWriter.cpp')
-rw-r--r-- | lib/Frontend/PCHWriter.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Frontend/PCHWriter.cpp b/lib/Frontend/PCHWriter.cpp index 06f64431d8..53c05c8fdf 100644 --- a/lib/Frontend/PCHWriter.cpp +++ b/lib/Frontend/PCHWriter.cpp @@ -1694,9 +1694,11 @@ void PCHWriter::WriteSelectors(Sema &SemaRef) { } if (!changed) continue; + } else if (Data.Instance.Method || Data.Factory.Method) { + // A new method pool entry. + ++NumTableEntries; } Generator.insert(S, Data); - ++NumTableEntries; } // Create the on-disk hash table in a buffer. |