]> granicus.if.org Git - clang/commit
Lazy deserialization of function bodies for PCH files. For the Carbon
authorDouglas Gregor <dgregor@apple.com>
Sat, 18 Apr 2009 00:07:54 +0000 (00:07 +0000)
committerDouglas Gregor <dgregor@apple.com>
Sat, 18 Apr 2009 00:07:54 +0000 (00:07 +0000)
commit250fc9c859fdeed3f200ae911a7e7ea338f38436
treee296b134cdb17a030e1c368397575060d5b60bcb
parent7297134f128423fce2e88f92421ed135bded7d4e
Lazy deserialization of function bodies for PCH files. For the Carbon
"Hello, World!", this takes us from deserializing 6469
statements/expressions down to deserializing 1
statement/expression. It only translated into a 1% improvement on the
Carbon-prefixed 403.gcc, but (a) it's the right thing to do, and (b)
we expect this to matter more once we lazily deserialize identifiers.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69407 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Decl.h
include/clang/AST/ExternalASTSource.h
include/clang/Frontend/PCHReader.h
lib/AST/Decl.cpp
lib/Frontend/PCHReader.cpp