diff options
author | Rui Ueyama <ruiu@google.com> | 2015-06-10 04:21:47 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2015-06-10 04:21:47 +0000 |
commit | 8b33f59bfd3ea3c9da56fc3a8b4e0341bf499509 (patch) | |
tree | 36400f82baae7e10bab28215a27e728bd8748d43 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | d290eb4565b379d25ef067967d32ac5d65f6b804 (diff) | |
download | llvm-8b33f59bfd3ea3c9da56fc3a8b4e0341bf499509.zip llvm-8b33f59bfd3ea3c9da56fc3a8b4e0341bf499509.tar.gz llvm-8b33f59bfd3ea3c9da56fc3a8b4e0341bf499509.tar.bz2 |
COFF: De-virtualize and inline garbage collector functions.
isRoot, isLive and markLive functions are called very frequently.
Previously, they were virtual functions. This patch make them
non-virtual.
Also this patch checks chunk liveness before calling its mark().
Previously, we did that at beginning of markLive(), so the virtual
function would return immediately if it's live. That was inefficient.
llvm-svn: 239458
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions