commit | e6f0868a55aba2613e2d5dba3348aaf1064e6ddb | [log] [tgz] |
---|---|---|
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Fri Oct 21 23:02:28 2011 +0000 |
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Fri Oct 21 23:02:28 2011 +0000 |
tree | e01e03694fd4e56ce69c47309e6f3228a8bf8827 | |
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