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 | 6e1a2a0693904aac49005ea51797821e33392e41 (patch) | |
tree | 5d3107b2ce7444c0a4ff66459a623063f8956e78 /clang/lib/Frontend/PCHWriter.cpp | |
parent | 31e90d2dd1986ed7933d992cfeb2c74fca8391c2 (diff) | |
download | bcm5719-llvm-6e1a2a0693904aac49005ea51797821e33392e41.tar.gz bcm5719-llvm-6e1a2a0693904aac49005ea51797821e33392e41.zip |
Bring stats for the method pool back.
llvm-svn: 110247
Diffstat (limited to 'clang/lib/Frontend/PCHWriter.cpp')
-rw-r--r-- | clang/lib/Frontend/PCHWriter.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/lib/Frontend/PCHWriter.cpp b/clang/lib/Frontend/PCHWriter.cpp index 06f64431d80..53c05c8fdf2 100644 --- a/clang/lib/Frontend/PCHWriter.cpp +++ b/clang/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. |