diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-10-21 23:02:28 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-10-21 23:02:28 +0000 |
commit | e6f0868a55aba2613e2d5dba3348aaf1064e6ddb (patch) | |
tree | e01e03694fd4e56ce69c47309e6f3228a8bf8827 /lib/CodeGen/CodeGenFunction.cpp | |
parent | 21f77cd0c3da8a1dbaf6245cae43baf4c0b80ea4 (diff) |
[PCH] When serializing Stmts, keep track of when sub statements are referenced again and
in such a case just write out a reference of a previously serialized Stmt, instead
of serializing it all over again.
This saves memory + space + [de]serializing time, and avoids blowing up memory
with pathological cases. rdar://10293911
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142696 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions